Re: Is it possible to ask jade doing something only if...

Subject: Re: Is it possible to ask jade doing something only if...
From: Brandon Ibach <bibach@xxxxxxxxxxxxxx>
Date: Sun, 19 Mar 2000 15:17:20 -0600
Quoting baruchel <baruchel@xxxxxxxxxxxxxx>:
>   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?
> 
   I agree with Tony that you should have a separate rule for
processing each child of <header>.  Perhaps you could post the
relevant portion of your current stylesheet, showing how you process
<header> and its children?

-Brandon :)


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


Current Thread