[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Saxon removes namespace in XHTML output
> (XHTML namespace set up here on html element) probably you have put xmlns="..." on the html element in your stylesheet, this means that it is only in scope for that region of the stylesheet, so when you generate a <p> in other templates that generates a p in no-namespace which has to be serialised with xmlns="". You want all result elements to be in xhtml so you want that to be the default namespace in all of the stylesheet so put the namespace declaration on xsl:stylesheet. David
|
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
|