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


Help: OASIS Mailing Lists Help | MarkMail Help



   Extending XML

[ Lists Home | Date Index | Thread Index ]
  • From: "Adam M. Donahue" <adam@cyber-guru.com>
  • To: xml-dev@ic.ac.uk
  • Date: Sun, 7 Jun 1998 23:17:57 -0400

Has there been any discussion regarding using XML to extend XML 
itself?  Let's see, how can I put this?  For instance, say I want to be 
able to represent the grammar of C in an XML document.  I could do 
that, I suppose.  But how would I use this grammer to write a 
program?  Obviously I don't want to turn a statement like:

while (*a++ = *b++);

into a series of elements.  (Hmm.  I just tried an example but this is 
definitely non-trivial!) Or something of this nature.  Wouldn't it be 
nice to be able to use XML to define a structured format without 
having to use tags?  

Maybe this is not a good example.  How about a way to encode all 
elements in fixed length fields, depending on the size of language?  
That way instead of having to parse for <XML> I could mask eight 
bits and do I quick comparison, for example.  Do you see what I 

Just some thoughts...



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