[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Trouble with namespaces and running identity trans
On Tuesday 09 March 2004 21:49, James J. Ramsey wrote: > I've tried variants on this with the > exclude-result-prefixes attribute of xsl:stylesheet > and also tried messing with the xsl:namespace-alias > element, but can't seem to this to produce the same > output on both xsltproc and Saxon, and I keep getting > invalid output with attributes like xmlns="" or > xmlns:h="http://www.w3.org/1999/xhtml". > Hi James, I would think the problem is that what you are thinking of as "invalid output" is in fact correct for XSLT. The processors can and will add namespace decalrations like xmlns="" if they are needed to preserve the namespaces of the elements/attributes you are generating and different processors do this in different ways. Perhaps a way forward would be to state what type of transform you would like to perform on the XHTML and I am sure somebody will be along very quickly to help. Kev. 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
|