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

Re: component questions

From: Alex Milowski <alex@milowski.org>
Date: Thu, 15 Mar 2007 11:13:35 -0700
Message-ID: <28d56ece0703151113j2798914eq51e3d905765f2fec@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
On 3/15/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> Hash: SHA1
> Alex Milowski writes:
> >> What does the xinclude-from-sequence component _do_?  I can't tell
> >> - From the text.  I'm guessing it does xinclude processing on one
> >> of the documents in the sequence (first? last?), but what kind of URIs
> >> does that document use to address the _other_ documents in the
> >> sequence?
> >
> >
> > The included documents are taken from the sequence by the base URI
> > of the document.
> Hunh?  Still don't understand, sorry -- can you give simple example,
> please?

You want to xinclude a document where the documents that are included
are from the sequence provided on the 'documents' port.  The regular
the XInclude processor would uses the URI directly and gets them
from that URI in an implementation defined way.  This version of XInclude
gets them from content in the pipeline (i.e. the sequence documents supplied
the 'documents' port).

The only difference is that the regular xinclude just uses the URI and
this xinclude looks for documents in the sequence supplied on
the 'documents' input port.

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Thursday, 15 March 2007 18:13:43 UTC

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