xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul_D...@lotus.com
Subject Re: why? xalan puts namespace ids in all my HTML tags.
Date Tue, 11 Jan 2000 20:54:16 GMT

Brian,

That is spec'ed behavior.  The way you prevent namespaces you don't want to
show up in the result tree is to use
either xsl:exclude-result-prefixes attribute for literal result elements or
the exclude-result-prefixes attribute on the
stylesheet command.

So try adding the following to the stylesheet declaration.
<xsl:stylesheet
           xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
           xmlns:pp='http://ourserver/namespaces/practiceportal/1.0'
           xmlns:xlink='http://www.w3.org/XML/XLink/0.9'
           xmlns:html='http://www.w3.org/1999/xhtml'
           xsl:exclude-result-prefixes="pp xlink html">

You don't need to specify xsl because it's excluded automatically.

pd


Mime
View raw message