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

RE: Autogenerating XPath from XML?

Subject: RE: Autogenerating XPath from XML?
From: "Paul Brown" <prb@xxxxxxxxxxxxx>
Date: Sun, 29 Sep 2002 16:14:02 -0400
RE:  Autogenerating XPath from XML?

> From: Kenji Hollis [mailto:kenji@xxxxxxxxxxxx]
> > [ suggestion from Jeni T ]
> Hmmmm, this doesn't actually work, because I'm not using a 
> stylesheet to create the output.  This is being done via a
> Java program.  I need a way to do this programatically
> using Java...

There is no reason that you can't invoke a Transformer and have it generate a String as output that contains the path.  The alternative is some basic DOM programming that uses recursion to work back to the root of the tree along the same lines of Jeni T's suggestion, but this is the wrong list for that. :)

	-- Paul

 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.