Re: Testing tags contents with JADE

Subject: Re: Testing tags contents with JADE
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Mon, 01 Sep 1997 09:39:31 -0400
Olivier ROUSSEAU wrote:
> 
>         Hello
> In my sgml instance i have somthing like that:
> 
> <para>string</para>
> 
> and I would like to do something like:
> if string="toto" then do ...
>         else do ...

I think you actually want to test the *element's* contents. You can get
the character data from an element with the "data" procedure and you can
use "string=" to compare.

 Paul Prescod



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread