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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: IDREF

[ Lists Home | Date Index | Thread Index ]
  • From: Lars Marius Garshol <larsga@ifi.uio.no>
  • To: xml-dev@ic.ac.uk
  • Date: 22 Mar 1998 16:16:56 +0100


* Peter Murray-Rust
|
| Are there any examples of XML documents that use IDREF? 

I've got one at

<URL:http://birk105.studby.uio.no/www_work/xml/sgmlglos.xml>
<URL:http://birk105.studby.uio.no/www_work/xml/glos_xml.dtd>

| The XML-REC (in XML) would appear to do so as there are a number of
| attributes ending in *REF, but since I have not yet found the DTD
| this is guesswork.

Actually, that's one DTD it would be very nice to have for testing
purposes. Is it available anywhere? (Please?)

In my experience ID/IDREF is very nice for simple cross-references
inside a document, since they're so simple to use. (The error handling
need not be Draconian.  nsgmls-like behaviour where the reporting can
be turned off is IMHO sensible for this, since there may be invalid
references while the document is being written.)

| IDREFs are concise and simple to implement(?). 

Compared to XLL, yes, but they do require a parser that reads the
DTD. I've not added them to my own parser yet, but they won't require
much work (unless there are hidden surprises, of course).

-- 
"These are, as I began, cumbersome ways / to kill a man. Simpler, direct, 
and much more neat / is to see that he is living somewhere in the middle /
of the twentieth century, and leave him there."     -- Edwin Brock

 http://www.stud.ifi.uio.no/~larsga/      http://birk105.studby.uio.no/


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/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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)


  • References:
    • IDREF
      • From: Peter Murray-Rust <peter@ursus.demon.co.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