W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Why does this pipeline output two c:param-sets?

From: Costello, Roger L. <costello@mitre.org>
Date: Sat, 27 Jun 2009 08:06:13 -0400
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500400458C21@IMCMBX3.MITRE.ORG>

Hi Folks,

This pipeline outputs the content of the parameter input port:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
    <p:input port="parameters" kind="parameter">
                <c:param name="Title" value="First and Last Freedom" />
                <c:param name="Author" value="J. Krishnamurti" />
                <c:param name="Date" value="1954" />
                <c:param name="ISBN" value="0-06-064831-7" />
                <c:param name="Publisher" value="Harper &amp; Row" />
    <p:output port="result" sequence="true" />

        <p:input port="source">
            <p:pipe step="myPipeline" port="parameters" />


Surprisingly, I get as output two <c:param-set> elements:

<c:param-set xmlns:c="http://www.w3.org/ns/xproc-step">
     <c:param name="Title" value="First and Last Freedom"/>
     <c:param name="Author" value="J. Krishnamurti"/>
     <c:param name="Date" value="1954"/>
     <c:param name="ISBN" value="0-06-064831-7"/>
     <c:param name="Publisher" value="Harper &amp; Row"/>
<c:param-set xmlns:c="http://www.w3.org/ns/xproc-step"/>

I don't understand why I get that second <c:param-set> element. Would you explain this please?

Received on Saturday, 27 June 2009 12:06:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:05 UTC