Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XPointer example

From: "tom tom" <tomxsllist@-------.--->
To: xml-dev@-----.---.---
Date: 7/11/2006 11:06:00 AM
The spec at http://www.w3.org/TR/xptr-framework/ explains shorthand 
pointers, scheme based pointers and namespace binding.

the spec at 
http://www.w3.org/TR/2003/REC-xptr-element-20030325/xptr-element.xml is an 
example of a scheme based pointer.

Both demonstrate how to reference XML fragments based on an ID. the second 
one also shows how to use integers to select the nth element.

Is it possible to reference an XML fragment based on an XPath, something 
along the lines of: //a[@type='large'], which will find an <a> element in 
the XML resource whose type is large.

If it is where is the W3C documentation for this?
If not does this mean I can only use XPointers with IDs?

Thanks in advance

Tom

_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search! 
http://join.msn.com/toolbar/overview


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