|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xmlnx="" declarations appears in html element?
Khalid wrote: > <html > xmlns:localutil="xslt.java.util.Utils" > xmlns:java.util.Date="java.util.Date" > xmlns:java.text.SimpleDateFormat="java.text.SimpleDateFormat"> > my question is tha is it how it should look like I believe an oversight in the XSLT spec requires the serialization of namespace nodes for the html output method to be carried out in the same manner as for the xml output method. So yes, that's what you 'should' be getting, even though HTML has no concept of namespaces. > or there is a way to stop xslt > processor from inserting namespace deffinitions to put in html element Add the following attribute to your xsl:stylesheet element: exclude-result-prefixes="localutil java.util.date java.text.SimpleDateFormat" - Mike ____________________________________________________________________________ mike j. brown, fourthought.com | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/ 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








