[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: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Thu, 26 Feb 1998 16:54:07 -0500
Re: More XSL Discussion
Boris Moore wrote:
> 
> Our XML parser does a completed parse, and conserves the grove in 
> memory, before the Stylesheet construction rules are fired.  The 
> action part of the stylesheet can obtain information about any part 
> of the grove, such as "how many children of element type 'foo' does 
> such and such an element have".  The target element can be specified 
> by an ID attribute value, or by a contextual relationship to another 
> element.  Thus processing performed by the action for a given element 
> can depend, for example, on how many siblings it has of the same 
> element type, which number it is itself in the series of siblings etc.

Could you demonstrate how this problem would be solved in your language?
I ask because having access to more context does not in itself solve the
problem. It moves some of the complexity from the right hand side into
the query, but unless you can match element patterns you will probably
still have the same problem.

Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

[Woody Allen on Hollywood in "Annie Hall"]
Annie: "It's so clean down here."
Woody: "That's because they don't throw their garbage away. They make 
        it into television shows."



 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.