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]