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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML processing instruction survey

[ Lists Home | Date Index | Thread Index ]
  • From: Tyler Baker <tyler@infinet.com>
  • To: Tim Bray <tbray@textuality.com>
  • Date: Sat, 04 Dec 1999 00:02:27 -0500

Tim Bray wrote:

> At 03:07 PM 11/30/99 -0800, Jeffrey E. Sussna wrote:
> >I'm interested in the extent to which people are actually using the XML
> >processing instruction ( <?xml ) in their XML files, and the extent to which
> >they find it useful.
>
> It's not really designed for people.  It's mostly designed for use
> by the XML processor to help figure out the encoding and make sure that
> this is really XML.
>
> I'd think that using it at the application level would be not only
> uncommon but probably unwise.  I'd be interested to hear any positive
> responses to the query. -T.

I use processing instructions for the class name (Java specific here) of the application
object that is used to handle a particular document type. In this sense the PI acts as a
stream header. The PI in a sense is not document content but is only used as an identifier as
to what module should be dynamically loaded to handle the document data.

I like to think of PI's as things which are useful for commanding your particular application
as to what it should do with the data and not something inherent within the document itself.

Tyler


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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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