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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   ID and tag value uniqueness, how?

[ Lists Home | Date Index | Thread Index ]
  • From: <david@megginson.com>
  • To: "Glenn R. Kronschnabl" <grk@arlut.utexas.edu>
  • Date: Wed, 28 Oct 1998 14:07:52 -0500 (EST)

Glenn R. Kronschnabl writes:

 > I don't want to do something like id="num1" because then I
 > would have to parse it, etc.  

It's not that bad, really.  Try id=n00001, id=n00002, etc., and just
strip off the first character in your application (no significant
parsing required).

That said, if there is not an obvious way to represent a particular
validation constraint using a DTD, you usually shouldn't try -- XML
itself is just a representation syntax; it shouldn't become a Golden
Hammer for every type of work.  XML has to work together with other
technologies to provide any real-world application.


All the best,


David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/

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)





 

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

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