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

Subject: Re: Is it possible to ask jade doing something only if...
From: baruchel <baruchel@xxxxxxxxxxxxxx>
Date: Mon, 20 Mar 2000 12:21:26 -0800
On Sun, Mar 19, 2000 at 02:06:15PM -0400, Tony Graham wrote:
> At 19 Mar 2000 06:00 -0800, baruchel wrote:
>  >   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?
> 
> My question is why is <header> processing it's child elements instead
> of just including a (process-children) and having separate element
> rules in your stylesheet for the possible child elements?
> 
> Regards,
> 
> 
> Tony Graham

Because the <header> makes a table. The various children are cells of the table. Si I need (I think?) to process the children one by one, with the attributes I want.

Thomas

Attachment: mutt_button.gif
Description: GIF image

Current Thread