Re: step must contain only a signature

> Is there something we could do that would have made things clearer?

Maybe.  What if you translated the declaration syntax for us newbies by
using examples to show the different ways it can be expressed, then put it
in an appendix?  Maybe something like this:

This declaration:

<p:declare-step type="p:delete">
     <p:input port="source"/>
     <p:output port="result"/>
     <p:option name="match" required="true"/>                      <!--
XSLTMatchPattern -->

can be instantiated like this (if you want to be verbose):

  <p:input port=²source²/>
  <p:output port=²result²/>
  <p:option name="match" select="'BookStore/Book/Title'"/>

(of course, this begs the question of where the attribute ³select² came

or like this (if you want to be less verbose):

<p:delete match=³BookStore/Book/Title²>
  <p:input port=²source²/>
  <p:output port=²result²/>

or even like this (if you want to be really succinct):

<p:delete match=³BookStore/Book/Title²/>

And I wouldn¹t mind seeing good definitions/explanations/examples for things
like XSLTMatchPattern, IRI, QName, and XPathExpression in the glossary.

Thanks for asking,

James Garriss

Received on Thursday, 18 September 2008 19:49:46 UTC