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

Simple xpath software request

  • To: xml-dev@l...
  • Subject: Simple xpath software request
  • From: Kris Thompson <race@b...>
  • Date: Thu, 28 Feb 2002 12:58:41 -0700
  • User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1

xpath software
I must have missed it but I feel like my searching has been complete.  I 
am looking for a way, using one of the more popular parsers idealy 
Xerces, to if given a node in a document return the XPath string 
representation of that node.  Something like the following would be nice

public static String getXPath(Document doc, Node node)
   
    where node is the node that I want the XPath expression on and doc 
is the document for which this node exist.  

If this does not exist in any popular parsers than has anyone created 
this piece of code for which I could have?

Thanks

Kris Thompson


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.