|
Subject: New problem From: Alexander Taranov <tay@xxxxxxxxxx> Date: Wed, 27 Jan 1999 19:42:04 +0300 |
below is version of
rule for food:
(element food
(make element
gi: "DIV"
attributes: '(("STYLE" "background-color:teal;color:white;padding:4px"))
(process-matching-children "name")
(literal " - ")
(process-matching-children "price")
(process-matching-children "description")))
which produce exactly this (after removing newlines in tags)
<HTML VERSION="-//W3C//DTD HTML 3.2 Final//EN"><BODY STYLE="font-family:helvetica,sanssherif;font-size:12pt;background-color:#EEEEEE"> <DIV STYLE="background-color:teal;color:white;padding:4px"><SPAN STYLE="font-weight:bold;color:white">Belgian Waffles</SPAN> - $5.95<DIV STYLE="margin-left:20px;margin-bottom:1em;font-size:10pt;">two of our famous Belgian waffles with plenty of real maple
syrup</DIV></DIV>
<DIV STYLE="background-color:teal;color:white;padding:4px"><SPAN STYLE="font-weight:bold;color:white">Strawberry Belgian Waffles</SPAN> - $7.95<DIV STYLE="margin-left:20px;margin-bottom:1em;font-size:10pt;">light Belgian waffles covered with strawberries and whipped
cream</DIV></DIV></BODY></HTML>
--alexander
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: New problem, Toby Speight | Thread | Problem with siblings, Didier PH Martin |
| Re: New problem, Toby Speight | Date | Problem with siblings, Didier PH Martin |
| Month |