Jeff N. writes: >I was trying to generate: > > <xsl:transform > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:xalan="http://xml.apache.org/xslt" version="1.0"> > > But the obvious: > > <xsl:element name="xsl:transform"> > <xsl:attribute > name="xmlns:xsl">http://www.w3.org/1999/XSL/Transform</xsl:attribute> [etc.] > > didn't work.
The designers of XSLT anticipated this specialized usage and provided xsl:namespace-alias for this purpose. See the XSLT FAQ and/or one of the bulkier XSLT books for an explanation. BTW, all conformant XSLT processors will do about the same thing with your stylesheet, though they may place namespace declarations at different levels. .................David Marston
