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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Strategies for a lowly XML document

[ Lists Home | Date Index | Thread Index ]

> ><?rddl-doctype href="http://example.org/some-rddl-description.html"; ?>
>
> Blecch.  Assuming you believe that this is a good idea, stick it
> in a namespaced tribute required to be on the root element.  Then
> you can get at it through all the existing APIs and address it
> with XPath and so on.


PIs can be addressed with XPath. They can also be retrieved using the DOM or
handled with SAX.

> PIs are for application-specific processing IMHO.  This is not
> application-specific at all. -Tim

Isn't RDDL optional? That means it's an application-specific decision
whether or not it should do any processing based on the resources in the
associated RDDL directory. By using an attribute, you've put this
application-specific piece of data into the content of the document. That
seems way more intrusive than a simple PI.

Jason






 

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

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