[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Identity transform (case conversion)
Hi Mukul,
Dimitre is right, I can filter without problems the xml namespace with the initial code: <xsl:for-each select="current()//namespace::*[not(.=$currentNamepsace) and not(name()='xml')]" > A simple test to list the namespace mappings: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/*"> <namespaces> <xsl:for-each select="current()//namespace::*"> <namespace> <prefix> <xsl:value-of select="name()"/> </prefix> <ns> <xsl:value-of select="."/> </ns> </namespace> </xsl:for-each> </namespaces> </xsl:template> </xsl:stylesheet> will give with MSXML 4.0 on a <dummy/> document: <?xml version="1.0" encoding="UTF-16"?> <namespaces> <namespace> <prefix>xml</prefix> <ns>http://www.w3.org/XML/1998/namespace</ns> </namespace> </namespaces> Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Dimitre Novatchev wrote: It would really be a nasty bug, in case Mukul got that output.
|
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
|