xpointer - just a location mechanism?
Roger L. Costello
costello at mitre.org
Thu Dec 16 18:31:58 GMT 1999
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
> ----- Original Message -----
> From: Roger L. Costello <costello at mitre.org>
> To: <xml-dev at 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 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)"
> > 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
> >  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 at 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 at ic.ac.uk the following message;
> > unsubscribe xml-dev
> > To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
> > subscribe xml-dev-digest
> > List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev