[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Trying to understand XSLT processing
I thought there might be a difference in how "." is evaluated when the current context item is the root node vs. the document node. So out of curiosity, I ran the original XSLT (using ".") in oXygen 11 with various engines: - Saxon 9.2.0.2 HE + PE, 6.5.5: works - Xalan, XSLTProc : works, but outputs only the text nodes Example output: [Saxon-HE] *****you just hit the XSLT ****** [Saxon-HE] *****BODY CONTENTS****[<SOAP:Envelope xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" [Saxon-HE] xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" [Saxon-HE] xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" [Saxon-HE] xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-20040 1-wss-wssecurity-secext-1.0.xsd" [Saxon-HE] xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> [Saxon-HE] <SOAP:Header> [Saxon-HE] <wsse:Security SOAP:mustUnderstand="1"> [Saxon-HE] </wsse:Security></SOAP:Header> [Saxon-HE] <SOAP:Body> [Saxon-HE] <m:hello xmlns:m="http://services"> [Saxon-HE] <m:x>123</m:x> [Saxon-HE] </m:hello> [Saxon-HE] </SOAP:Body> [Saxon-HE] </SOAP:Envelope>] BTW, the SOAP, env, sopa-env prefixes are set inconsistently, although this should make no difference here because only SOAP in ever used, in the input document. Michael Andrew Welch schrieb: That's almost certainly a namespace issue then...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|