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

Re: Dump XPATHs

From: Bryce K. Nielsen <bryce@sysonyx.com>
Date: Sun, 5 Dec 2004 21:04:05 -0700
Message-ID: <049e01c4db48$a1ff06f0$ce08bed8@PREZ>
To: <xmlschema-dev@w3.org>
xpath generator

> When people ask for generated XPath expressions, they are usually asking
for
> some kind of canonical path from the root to a node - typically a path
whose
> steps all use the child or attribute axis and whose NodeTests all consist
of
> an element or attribute name.
>
> Even with this restriction, however, if the schema is recursive then the
> number of possible canonical XPaths that can retrieve a node is infinite.
>

I think perhaps a more useful tool would be an XPath-Generator, something
that would display an instance document, then selecting a certain node would
give you the XPath you were looking for. But again, this may not be that
practical since most XPaths are relative, you're trying to grab node X while
you are on node Y, so maybe an XPath generator where you tell the
application which node to start with...

But to bring this to full circle, what's the actual purpose for an "XPATH
dump"? Maybe if we knew the 'requirements' better, we could propose a better
solution.

Bryce K. Nielsen
SysOnyx, Inc. (www.sysonyx.com)
Makers of xmlLinguist, the EDI-to-XML Translator
http://www.xmllinguist.com
Received on Monday, 6 December 2004 04:04:06 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

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-2007 All Rights Reserved.