Posted By:
Juha_Siltanen
Posted On:
Tuesday, March 18, 2003 05:24 AM
I am performing XSLT to a SOAP message and the output is another SOAP meage, slightly different in content. I'll include here the relevant parts concerning my question. In the result SOAP, some tag's have a namesoace declared even though no namespace is defined in the source documetn for those specific tags. The source: <?xml version="1.0" encoding="UTF-8"?> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> 12345 Somewhere Somewhere else 1 active
More>>
I am performing XSLT to a SOAP message and the output is another SOAP meage, slightly different in content. I'll include here the relevant parts concerning my question. In the result SOAP, some tag's have a namesoace declared even though no namespace is defined in the source documetn for those specific tags.
The source:
<?xml version="1.0" encoding="UTF-8"?>
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
12345
Somewhere
Somewhere else
1
active
someUser
myPassword
The XSL:
<?xml version="1.0"?>
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
//*/*['Body']/*/*['Products']/*[1]/*[not(name()='password' or name()='username')]"/>
The result:
<?xml version="1.0" encoding="utf-8" ?>
12345
active
As it is depicted in the presented codes, why is this
url presented in the output? I haven't defined it to
appear there (or have I?).
Thanks, I really apprechiate all the help I get :-)
-Juha-