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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: xpointer - just a location mechanism?

[ Lists Home | Date Index | Thread Index ]
  • From: "Roger L. Costello" <costello@mitre.org>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 16 Dec 1999 13:31:56 -0500

Frank Boumphrey wrote:
> 
> XPointer uses the 'to' keyword to isolate out a section of the document eg
> someurl.xml#id1 to id2.
> 

So, does that mean that if I want to use the xLink embed capability then
I must necessarily use the 'to' facility in my xpointer?  Is it an error
if I don't use the 'to' facility?  The 'to' xpointer facility is tied to
the embed xLink capability?  /Roger

> Frank
> ----- Original Message -----
> From: Roger L. Costello <costello@mitre.org>
> To: <xml-dev@ic.ac.uk>
> Sent: Thursday, December 16, 1999 11:34 AM
> Subject: xpointer - just a location mechanism?
> 
> > Hi Folks,
> >
> > I am making my way through the latest xpointer spec.  I may be missing
> > something (I am not finished reading it) but it appears that the spec
> > does not support the xLink capability of embedding[1] a portion of an
> > XML document into the currently active document.  Consider this simple
> > xLink with a xpointer:
> >
> > <xlink:simple
> >     href="http://www.somewhere.com/BookCatalogue.xml#xpointer(/Book[1])"
> >     show="parsed"/>
> >
> > This hyperlink should result in extracting out of BookCatalogue.xml the
> > subtree referenced by the first Book element, and embedding it into the
> > current active document.  (This is my understanding of how this should
> > work.  Please correct me if I am in error.)
> >
> > The xpointer spec states that an XPointer is simply a location
> > mechanism.  In section 2.4 it states:
> >
> > "XPointers are not a general query mechanism, they are a specification
> > of document locations."
> >
> > I read this as saying "an xpointer defines how to move a cursor around
> > in an XML document.  It does not describe what a location means in terms
> > of nodes (or strings) being referenced."
> >
> > If the spec doesn't describe what the movement of a cursor to a location
> > means in terms of node lists (or strings) then how is it going to
> > support the xLink embed mechanism?  /Roger
> >
> >
> > [1] From the xLink spec: "The parsed option (of the show attribute),
> > relating directly to the XML concept of a parsed entity, indicates that
> > the content should be integrated into the document from which the link
> > was actuated."
> >
> >
> > xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
> > Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
> CD-ROM/ISBN 981-02-3594-1
> > To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
> > unsubscribe xml-dev
> > To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
> message;
> > subscribe xml-dev-digest
> > List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
> >


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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