on 08-25-2006 11:06 AM
Hi,
I'm trying to generate the SOAP envelope using XSLT mapping. The source message to my mapping program, contains two fields:
a. username
b. pwd
But they come in with attached namespaces like ns1. How do I specify the xpath to get the data from them?
Regards,
Harsh
Hi Harsh,
-me again -
put the namespace declaration into the stylesheet element. like
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns1="namespace1">
Now you can select with
<xsl:value-of select="//ns1:a.username"/>
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And you solved the problem again
Thanks,
Harsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.