xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dupras <bri...@centera.com>
Subject RE: why? xalan puts namespace ids in all my HTML tags.
Date Tue, 11 Jan 2000 21:02:28 GMT
Thank you very much for the quick reply.  I looked through the docs for
quite some time without finding this little tidbit.  But, of couse, after
knowing what to look for I see the exact parts of the spec at the w3c.  :)

Brian

> -----Original Message-----
> From: Paul_Dick@lotus.com [mailto:Paul_Dick@lotus.com]
> Sent: Tuesday, January 11, 2000 1:54 PM
> To: general@xml.apache.org
> Subject: Re: why? xalan puts namespace ids in all my HTML tags.
> 
> 
> 
> 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