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

From
Jason Diamond <>
To
Date
2002-01-23T20:17:40Z
ID
<005e01c1a44b$09d74590$4a265fa6@ck3162154a>
Thread
Re: [xml-dev] Strategies for a lowly XML document
> ><?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