Hi,
Several recent threads made me understand that although you've been very
successful to make pipelines behave according to the principle the least
surprise in simple cases, the semantics of XPL isn't as straightforward
as I had first thought.
Is there a document describing this semantic (maybe using a formal
description)? If not, such a document would be very helpful for people
who have passed their first learning steps :) !
The points I find the most touchy are the behaviour of processors
without outputs and the difference between a processor with an
unconnected output and a processor without output.
I probably don't fully understand all what's going on in the XPL
processor and may be basing what I'll say on wrong assumptions, but I'll
try to elaborate on that point anyway :-) ...
I think that we could consider a pipe with processors without output
like a make (or Ant) file and that this would be nice if we could be
able to specify when we call this pipe which "targets" are to be
executed.
Let's say I have the same document that I want to serialise using
different processors (maybe a HTML processor, an XML one and a PDF one).
Right now, I need to write n+1 different pipelines : one for creating a
XML representation of the document and one for each serialisation.
Instead of that, if I could specify the "target", I could write only one
pipe and provide a target for each serialisation.
Now, it could also be interesting to define an optional output for this
pipe. This optional output could be used to provide the XML document
when needed outside of the cases implemented as targets, for instance if
I need to include a snippet of that XML document in another one.
The fact that this optional output is defined shouldn't modify the
behaviour of the pipe when it isn't used, but just be considered as
another option or target.
Am I totally or only partially wrong :) ?
Eric
--
If you have a XML document, you have its schema.
http://examplotron.org
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user