|
Subject: [xsl] Name Spaces in Selects and xsl:element From: Karl Stubsjoen <kstubs@xxxxxxxxx> Date: Thu, 5 May 2005 08:00:46 -0700 |
I have some questions about namespaces, I'd like to use them in
selects as a way to say "here's the data I really want to evaluate,
all other will be ignored. So, given the sample data, how would one
select all elements who's namespace is "fn"?
<fn:A>
<fn:B>12</fn:B>
<B>88</B>
<fn:B>
<fn:B>34</B>
<B>99</B>
</fn:B>
<fn:B>56</fn:B>
</fn:A>
Desired result:
123456
Another question, about xsl:element. When I use this to create
elements, the elements never get the appended xmlns attribute added.
If I just type the new element out like this
<NewElement><xsl:select="."/></NewElement> I am lible to get something
like this in my result:
<NewElement xmlns:ms="urn:schemas-microsoft-com:xslt">
How can this be avoided without using the xsl:element command?
That's it for now, I will most likely have more...
Thanks, Karl
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XSL for WordML -> specifi, JBryant | Thread | Re: [xsl] Name Spaces in Selects an, David Carlisle |
| RE: [xsl] XSL - Transforming 2 XSL , Andrew Welch | Date | Re: [xsl] XSL - Transforming 2 XSL , Colin Paul Adams |
| Month |