xslt - Saxon-HE-9.5.1.4 Extracted XML node doesn't contain the root element namespace -
extracting particular element(node-set()) ex. <bbb>
following xml payload ignores root element namespace included in results
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.sonoasystems.com/schemas/rentacar"> <soapenv:body> <bookcar> <size80k> <aaa> <bbb/> </aaa> </size80k> </bookcar> </soapenv:body> </soapenv:envelope>
result : on using saxon9.5.1.4
<bbb xmlns="http://www.sonoasystems.com/schemas/rentacar"/>
on using saxon9.0
<bbb xmlns="http://www.sonoasystems.com/schemas/rentacar" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
Comments
Post a Comment