This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Autogenerating XPath from XML?
- From: "Kenji Hollis" <kenji at ptdmicro dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sun, 29 Sep 2002 13:35:37 -0700
- Subject: RE: [xsl] Autogenerating XPath from XML?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Crap. I was afraid of that. Any idea of a list where I could ask for this
task? :)
-- Kenji
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Paul Brown
Sent: Sunday, September 29, 2002 1:14 PM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] Autogenerating XPath from XML?
> From: Kenji Hollis [mailto:kenji@ptdmicro.com]
> > [ 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list