[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Saxon removes namespace in XHTML output

Subject: Re: Saxon removes namespace in XHTML output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 22 Aug 2006 14:39:01 +0100
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.