You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ulrich Mayring <ul...@denic.de> on 2000/10/17 09:30:24 UTC

Re: How to hide XML tags

cesare.raoss@delta.it wrote:
> 
> Than I use them during the xsl processing. Everything works fine except
> that in the resulting HTML I see the data of sections declared in the
> db1.xml file. What I would like to do is not to show them.
> I don't think there is a sort of "HIDDEN" attribute in the XML so I think I
> miss somethink.
> Could you help me please?

This is an XSLT question, not a cocoon question. If you want to hide
something, write an empty template for it in your xsl.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Re: How to hide XML tags

Posted by Matthew Cordes <mc...@maine.edu>.
I think you want "exclude-result-prefixes".  It's an attribute of 
<xsl:stylesheet> see the w3c recommendation section 2.2.

-matt
( BTW -  this is the wrong place to ask such a question, next time
	try www.mulberrytech.com's xslt list )

On Tue, Oct 17, 2000 at 09:30:24AM +0200, Ulrich Mayring wrote:
> cesare.raoss@delta.it wrote:
> > 
> > Than I use them during the xsl processing. Everything works fine except
> > that in the resulting HTML I see the data of sections declared in the
> > db1.xml file. What I would like to do is not to show them.
> > I don't think there is a sort of "HIDDEN" attribute in the XML so I think I
> > miss somethink.
> > Could you help me please?
> 
> This is an XSLT question, not a cocoon question. If you want to hide
> something, write an empty template for it in your xsl.
> 
> Ulrich
> 
> -- 
> Ulrich Mayring
> DENIC eG, Systementwicklung
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>