|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Name Spaces in Selects and xsl:element
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
|
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
|

Cart








