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

A valid pipeline?

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Mon, 19 Mar 2007 13:32:45 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87r6rl16ma.fsf@nwalsh.com>
The xinclude-from-sequence[1] component offers one solution for a
special case of a general problem. In the absence of that component,
is the following pipeline legal? If not, what constraint in the
specification[2] does it violate? If it is, what does it produce? Are
all implementations required to produce the same result? If not, why

<p:pipeline xmlns:p="http://www.w3.org/2007/03/xproc"
<p:output port="result"/>

  <p:input port="source">
  <p:input port="stylesheet">
      <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

	<xsl:output method="xml"/>

	<xsl:template match="/">
	  <xsl:result-document href="http://some-imaginary-dns-name.tld/document">
	      <title>Chapter Title</title>
	      <para>Some paragraph.</para>

  <p:input port="source">
	<title>Document Title</title>
	<xi:include href="http://some-imaginary-dns-name.tld/document"/>


                                        Be seeing you,

[1] http://www.w3.org/XML/XProc/docs/langspec.html#c.xinclude-from-sequence
[2] http://www.w3.org/XML/XProc/docs/langspec.html

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Monday, 19 March 2007 17:34:33 UTC

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