[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Flattening a tree
Jeni, As I was saying is the first message of this thread, the problem is to differentiate two categories of elements : those which must be flattened and those which must not. The first category must be layed out verticaly (let's call them "paragraphs") with no nesting. The other category (inlines) must be layed out horizontaly, with whatever level of nesting is needed. So : <document> <para> content-1 <List> <Item>content-2 <i>italic</i> normal</Item> <Item>content-3 <inlineGraphic/></Item> </List> content-4 <graphic/> content-5 </para> </document> should be transformed into : <document> <para>content-1</para> <Item>content-2 <i>italic</i> normal</Item> <Item>content-3 <inlineGraphic/></Item> <para>content-4</para> <graphic/> <para>content-5</para> </document> because <i> and <inlineGraphic> elements must stay "inline". Anyway, thanks for your help, Pierre-Yves -----Message d'origine----- De : owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]De la part de Jeni Tennison Envoyé : vendredi 14 juillet 2000 17:10 À : Pierre-Yves Saumont Cc : xsl-list@xxxxxxxxxxxxxxxx Objet : RE: Flattening a tree XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|