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

Re: Minutes for XProc WG telcon of 6 Apr 2006

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Tue, 11 Apr 2006 09:34:47 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87mzes6xs8.fsf@nwalsh.com>
/ Rui Lopes <rlopes@di.fc.ul.pt> was heard to say:
| Well, if we want consistency between steps and pipelines, I believe we should
| allow the definition of simple parameters (i.e. booleans, integers, etc.) in a
| pipeline, the same way it has been talked regarding steps parameters. Having
| this helps on defining a standardized sub-pipeline processing component.

I'm not sure about booleans and integers. I think I'd like to keep
types out of it and just let parameters all be strings.

I was thinking we could perhaps harmonize the two by saying that the
pipeline parameters become variable bindings in the static context for
XPath evaluation of p:if component expressions. Then we could say that
a p:if component without any test document evaluates its expression
against an empty document node.

  <p:parameter name="debug" select="1"/>
  <p:input name="doc"/>
  <p:input name="style"/>

    <p:input name="stylesheet" label="style"/>
    <p:input name="document" label="doc"/>
    <p:output name="result"/>

    <p:input label="result"/>
    <p:output name="styledresult"/>
    <p:output name="testdoc"/>

  <p:if test-document="testdoc" xpath="/fo:root">
    <p:input name="doc" label="styledesult"/>
      <p:if xpath="$debug != 0">
          <p:message>FO output</p:message>
      <p:save href="someURI.fo">
        <p:input name="document" label="doc"/>
      <p:if xpath="$debug != 0">
          <p:message>Non-FO output</p:message>
      <p:save href="someURI.html">
        <p:input name="document" label="doc"/>

                                        Be seeing you,

Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Tuesday, 11 April 2006 13:35:01 UTC

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