|
Subject: Is it possible to ask jade doing something only if... From: baruchel <baruchel@xxxxxxxxxxxxxx> Date: Sun, 19 Mar 2000 06:00:53 -0800 |
Hi,
is it possible to ask Jade to do something only if an element is present in the SGML ource document.
For instance, I am writing a dsl file to handle letters.
At the beginning, it writes a header:
<header>
<name>My_Name</name>
<adr>My_adress</adr>
<tel>XXXXXX</tel>
</header>
The trouble is that the <tel> field is optional, and that I don't want jade to put spaces if there is no <tel>, which it usually does before writing the phone number. The <header> element processes the three chlidren, and I would like that it does'nt process the third if there is no <tel>.
Is it possible?
--
.~. Thomas Baruchel
/V\ baruchel@xxxxxxxxxxxxxx
// \\ Brest
/( )\ FRANCE
^`~'^
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Binding offsets?, G . B . Stott | Thread | Re: Is it possible to ask jade doin, Tony Graham |
| Re: Binding offsets?, Brandon Ibach | Date | Re: Is it possible to ask jade doin, Tony Graham |
| Month |