Hi all,

Thanks for the answers. 
I found much more elegant solutions in XPathScript -
the DO_SELF_ONLY sub. If you return DO_SELF_ONLY() at
the end of a sub the engine would not process the
child nodes. Cool :)) 

Regards,

Pavel

--- "Dave Brooks, BCS Systems" <[EMAIL PROTECTED]> wrote:
> You need to have a general XSL rule that overides
> the behaviour of the 
> default rule that prints the contents of an element.
> Use:
> 
>          <xsl:template match="text()"/>
> 
> This rule will be applied if there is not a more
> specific template.
> 
> Regards,
> 
> Dave
> 
> 
> At 20:55 19/04/2002 +0300, Pavel Penchev wrote:
> >Hi,
> >
> >I have a question that is may be quite dumb but
> I'll be very thankfull if 
> >someone can help. The question is how can I stop
> from printing the tags in 
> >the .xml file that do not have a corresponding
> .xsl/.xps matching rule. As 
> >an example:
> >
> ><?xml version="1.0"?>
> ><page>
> >     <test>test</test>
> ></page>
> >
> >So when I do apply_templates('/page') the tag
> <test> and its content not 
> >to be printed?
> >
> >10x in advance
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to