On 4/13/07, Innovimax SARL <innovimax@gmail.com> wrote:
> a default type of XML and it has to be connected to a XML type (you
> have nothing to precise in this case)
I am strongly in favor of the status quo: "Pipelines take zero or more
XML documents as their input and produce zero or more XML documents as
their output." (from Section 1).
Text data can be easily embedded in XML. How this is done can be
defined by each component, or a "common practice" can be defined by
XProc and then reused by components. Going with the latter option, a
text document could look like:
<document xsi:type="xs:string" content-type="text/plain">
This is line one of the input document! This is line two of the input
document! This is line three of the input document!
</document>
And a binary document could look like:
<document xsi:type="xs:base64Binary" content-type="image/jpeg">
/9j/4AAQSkZJRgABAQEBygHKAAD/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4R
KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//2Q==
</document>
Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/