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

Subject: Re: Is it possible to ask jade doing something only if...
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Sun, 19 Mar 2000 14:06:15 -0400 (EST)
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
======================================================================
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================



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


Current Thread