[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

List of styles created on the fly

Subject: List of styles created on the fly
From: "honyk" <honyk@xxxxxxxxx>
Date: Wed, 22 Dec 2004 14:19:08 +0100
list of styles
My xsl template changes source xml document from
<book><chapter><para> to <p class="book_chapter">,
<book><chapter><section><para> to <p class="book_chapter_section"> and so
on. Now I am looking for method, how to place list of all these new styles
(uniquely) at the beginning of output file. Note my output isn't .html
document, I use this format for explaining only.
I think for this purpose I cannot use mode attribute, because derived class
(style) is generated on the fly, it isn't present at beginning of
transformation, so I can't work with it like with standard nodes
(grouping/sorting) - it is text only.
My only idea is two pass process.
1) xml>xml_x - class converting
2) xml_x>my_output - all remaining transformations (building of list etc.)
Is there any way to do it by single pass? Thank you in advance for your tips
or link to any tutorial.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.