W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > March 2007

Re: Standard components

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 22 Mar 2007 20:41:34 +0000
Message-ID: <4602E9FE.3000808@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

> It occurs to me that although some components do not produce XML documents
> as their results, such as an XSL-FO component for example, it would 
> still be a
> good thing(tm) if those components did produce an XML document on their 
> output port.
> Such a document could be something like:
>     <p:result uri="file://...." />

I think it would be a good thing if result documents that basically wrap 
an atomic value used the *content* of the document element rather than a 
specific attribute. My reason is that it means you can use the string 
value of the returned document, which means simpler XPaths (and that 
people don't have to remember the details of the markup language used to 
encode these result documents).

I guess we're going to have a standard <p:result> element to hold atomic 
values, and a <p:results> element that can hold a list of <p:result> 
elements when we need to return a list (of URIs, say).


Jeni Tennison
Received on Thursday, 22 March 2007 20:41:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:42 UTC