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

Re: More XSL Discussion

Subject: Re: More XSL Discussion
From: Sean Mc Grath <digitome@xxxxxx>
Date: Thu, 26 Feb 1998 18:06:31 GMT
grath words
>[Sean Mc Grath]
>> Now you have me worried! Can you please explain this? Lets say I
>> have a really simple stylesheet. One construction rule for title
>> elements. That is all - no fancy selects or modes or stuff. Just
>> this:
>> 
>> <xsl>
>> <rule>
>> <target-element type = "title">
>> <DIV>
>> <children/>
>> </DIV>
>> </rule>
>> </xsl>
>> 
>> My document has 10 title elements. If I understand you correctly
>> you are saying
>> 
>> 1) This construction rule might be executed 1000 times
>> 2) The order in which the title elements in my document are
>> processed is random.
>> 
>> I don't get it:-(
>
[Chris Maden]
>This is the essence of the difference between scripting and building
>flow trees.
>In one case, you can say, "For the numbered paragraphs, build a
>paragraph flow object containing a literal of the union of the first
>ten words and the last ten words; if any words are omitted, place
>ellipses between the first and last words."  This will create an
>output flow object, and it will create the same one in the same place,
>regardless of the processing model.

Okay! I'm half way there. An XSL processor is free
to create the flow objects in any order it likes cos the place they
are going in the resultant tree does not depend on creation order.
Fine. The part I still don't get is how the rule might be
triggered 1000 times?




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.