|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: possible to use copy-of without namespace
> i try to get a 1:1 copy of a tree (using xsl:copy-of) without > having the > xmlns attribute set in the root node of the result tree. > xsl:copy-of can only be used if you want an exact copy. If you want to make any changes at all, use a recursive descent using xsl:apply-templates, defining an identity template rule using xsl:copy, plus specific template rules to define the changes you want to make. To remove namespace nodes from an element, use <xsl:element name="local-name()"> in place of <xsl:copy> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








