Subject: RE: [xsl] generate XHTML header without causing xmlns attributes in e.g. <table>? From: Jarno.Elovirta@xxxxxxxxx Date: Fri, 17 Oct 2003 10:55:07 +0300 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] generate XHTML header wit, Michael Kay | Thread | RE: [xsl] generate XHTML header wit, Flemming Jønsson |
RE: [xsl] Template to return XML, Jarno . Elovirta | Date | Re: [xsl] Template to return XML, Armen Martirossian |
Month |