- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 31 Aug 2003 22:03:30 +0200
- To: Axel Kittenberger <axel@kittenberger.net>
- Cc: html-tidy@w3.org
* Axel Kittenberger wrote:
>Is it possible to get tidy to ommit the "xmlns" attribute in the xhtml output?
Not yet.
>I want to post-process the output with a XSLT stylesheet, and well XSLT get's
>all confused just because of this xmlns namespace attribute.
You need to declare a prefix for the XHTML namespace and use it in
XPaths, e.g.
<xsl:transform
version = '1.0'
...
xmlns:x = 'http://www.w3.org/1999/xhtml'
>
<xsl:template match = 'x:a'>
...
</xsl:template>
...
Received on Sunday, 31 August 2003 16:03:51 UTC