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

Walking a complex object graph

Subject: Walking a complex object graph
From: walter.crockett@xxxxxxxxxxxxxxxxxxxxx
Date: Fri, 16 Jul 2004 13:00:45 -0400
objectxpathnavigator
We're trying to create a "virtual XML" navigator object that permits
one to write an XSLT script that "walks" a complex object graph and
extracts object names, attributes, etc.

The purpose is to allow the initial selection of a subset of objects
and properties into a simple XML document, which can then be processed
in a separate step into the target format (HTML, XML, etc.)

The issue we're running into, at least in the XSLT implementation
provided in .NET, is that the XSLT processor appears to perform a
deep traversal of the graph, which in our case can take a long time
or produce an infinite loop (i.e. where there is a cycle of
references between objects).

Note: we've looked at the ObjectXPathNavigator example on MSDN, and
while this is similar to what we're trying to accomplish, it seems
like the problem here lies in the XSLT processer, not in the navigation
object itself.

We've been looking into ways to modify the XSLT processor so its
graph traversal behavior is "smarter". Are there any XSLT
implementations that are amenable to this kind of tweaking or modification?

Alternatively, is there a better strategy for using XSLT to perform
the initial selection of data from an arbitrarily connected object graph?

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.