On Fri, Apr 19, 2002 at 08:55:22PM +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?

        $t->{test}{testcode} = sub{ return 0; };

(ref: http://www.axkit.org/docs/xpathscript/guide.dkb?section=8 )


Joy,
`/anick

-- 
                    $_ = 'eatYerno Plteh khaer. cr';
                           $S++ ; $oS = ++$S ;
eval 's~'. ( '('. '.'x$S++ .')' ) x $oS . '~$' . $oS-- .'$'. $oS++ .'~g'
                until $S > int sqrt length and print;

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

Reply via email to