HyBrick Support for XPointer
Date: Mon, 01 Mar 1999 16:56:34 -0500 From: Ralph Ferris <firstname.lastname@example.org> To: email@example.com Subject: HyBrick Support for XPointer
Previous announcements of HyBrick's support for XPointer have not detailed which features are supported. One reason of course is that the discussion of XPointer continues within the W3C WG. With the announcement of the most recent version of HyBrick resulting in a significant number of downloads, it looks like a good time to state which features are availble.
Based on the March, 1998 XPointer draft, HyBrick users can test:
- All absolute loc terms: root(), html(), id(), origin()
- All relative loc terms: child(), ancestor(), descendant(), following() preceding(), fsibling(), psibling()
- The attr() loc term
Quick Intro: psibling Example
Here's a quick introduction to using these features:
- Go to the Samples\XLink-sample directory - Open the readme.xml file - Inside the first xlink element, under the first locator element: <locator role="Hubdocument Title" href="#root().child(1,title)"/> insert: <locator role="Overview" href="#id(p6).psibling(1,#element)"/> - In the first p element start tag after <title>Overview</title>, add the attribute/value pair id="p6". - Go to the dtd directory and open the sample.dtd file. - Add <!ATTLIST p id ID #IMPLIED> after the <!ELEMENT p ... declaration. Now open the readme.xml file in HyBrick. - Left click on the title - Note that Role Overview is now available in the Locator List. Selecting this role causes HyBrick to scroll to 1.2 Overview.
Ralph E. Ferris
Fujitsu Software Corporation
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:email@example.com the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:firstname.lastname@example.org the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:email@example.com)
Prepared by Robin Cover for the The SGML/XML Web Page archive.