Re: Standard components

> 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).

Cheers,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

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