|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: generate XHTML header without causing xmlns attrib
Hi, > However, my tables cannot validate using w3c's validator, > since they get an empty attribute with the name xmlns, like this: > <table xmlns="" id="y" class="z"> Somewhere in your stylesheet you've declared the the default namespace to be null, i.e. to be in no namespace. > Also the XHTML tags inside the table (not td/tr but all > others) also get the xmlns attribute which has no value and > they also get an xmlns:fo attribute like this: > <br xmlns="" xmlns:fo="http://www.w3.org/1999/XSL/Format" /> Use exclude-result-prefixes attribute in xsl:stylesheet/xsl:transform Cheers, Jarno - Razed In Black: Disintegration (The Cure cover) 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








