- 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>
Hi Folks, This pipeline outputs the content of the parameter input port: <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" name="myPipeline"> <p:input port="parameters" kind="parameter"> <p:inline> <c:param-set> <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 & Row" /> </c:param-set> </p:inline> </p:input> <p:output port="result" sequence="true" /> <p:identity> <p:input port="source"> <p:pipe step="myPipeline" port="parameters" /> </p:input> </p:identity> </p:declare-step> 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 & Row"/> </c:param-set> <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? /Roger
Received on Saturday, 27 June 2009 12:06:51 UTC