2.4 XLINK and XPOINTER

 < Day Day Up > 



Chances are, each time you visit the Web and find a page that interests you, you will find a link to another page that might be even more interesting. This linking of pages is one of the more compelling aspects of the Web. With the transition to using XML for data description on the Web, a new way of linking XML documents together is needed.

XML Linking, or XLINK, is a W3C standard that defines the syntax with which XML documents can be linked on the Web. XLINK allows specific relationships to be created between resources, accompanied by some descriptive data.

This is an example of a simple XLINK:

 <book xml:link="simple"  HREF = "http://kenslibrary.org/book.htm">  </book>  

XPOINTER, another W3C standard, specifies the way in which specific elements can be referenced within an XML document, whether or not they contain an explicit identifier. For example:

 child(3,book)  

This will refer to the third child element whose type is book.



 < Day Day Up > 



Microsoft  .NET. Jumpstart for Systems Administrators and Developers
Microsoft .NET: Jumpstart for Systems Administrators and Developers (Communications (Digital Press))
ISBN: 1555582850
EAN: 2147483647
Year: 2003
Pages: 136
Authors: Nigel Stanley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net