Subject: Re: Testing tags contents with JADE From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Mon, 25 Aug 1997 08:35:04 -0400 |
"Olivier ROUSSEAU" <nepo@xxxxxxx> writes: > 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 ... > > Is it possible, and how The (data) function returns the data content of an element: (if (string= (data (current-node)) "toto") (doiftrue) (doiffalse)) I can't say off the top of my head how this interacts with elements if the actual data includes mixed content... --norm DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Testing tags contents with JADE, Olivier ROUSSEAU | Thread | Using COLORS with JADE, Olivier ROUSSEAU |
Acting on empty tags with JADE, Olivier ROUSSEAU | Date | RE: XSL: Strawman comments, XS-9705, Patrick Durusau |
Month |