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

RE: Annotations in XPath-NG? (Re: XPath/XSLT 2.0 co


xslt use when xpath
Our annotation nodes are elements in a separate document or documents.
These have an href attribute that points to what is being annotated.

The HREF uses a restricted XPointer syntax:
	URL#xpath(LocationPath)
Where xpath() is a simplified XPointer scheme that supports just XPath
LocationPath expressions.

Our annotations are very nearly [and designed that way] simple XLinks.

My real issue about context is the selection of documents [linkbases] to use
when searching for third-party links.  If I have a given document, and can
get to its linkbases [by getting some metadata stored with the document],
then I can find the annotations that I want.

I'm thinking of just standardizing on XLink in general for annotations.
Then, I can somewhere declare the roles [and arcroles] that I want to
reverse index [possibly collection level metadata].  So then, if I add a
document to a collection, and that document contains links with the given
roles, I would locate the nodes referred to in the @xlink:href of the
element to find the nodes, and reverse index them.  If the links fail to
execute, then I fail to add it to the collection, and report an error back
to the caller.  Importing a link element should also trigger indexing on the
element and its attributes, in this system, since the identification of a
link in a document implies that there is a high likely hood of its
attributes being needed [at least in the system I'm working on].

	Keith
 

<<attachment: winmail.dat>>


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.