OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XPointer example

[ Lists Home | Date Index | Thread Index ]

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS