Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Dump XPATHs from schema?

From: "Bryce K. Nielsen" <bryce@-------.--->
To: <xmlschema-dev@--.--->
Date: 12/5/2004 2:04:00 PM
> 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


From paul.downey@b... Mon Dec 06 10:08:52 2004
Received: fro


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent