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

href, source and port and Murray's idea of subordinated element

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 30 Nov 2006 18:07:26 +0100
Message-ID: <546c6c1c0611300907x6be1d687n91fe1cd63f3f9ab0@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

Dear,

Let's do a heavy listing of what in place

Now we have 4 construct for p:input
<p:input
  port = QName
  sequence? = yes|no />
<p:input
  port = QName
  step = step name
  source = port name
  select? = xpath expression
  sequence? = yes|no />
<p:input
  port = QName
  href = URI
  select? = xpath expression
  sequence? = yes|no />
<p:input
  port = QName
  select? = xpath expression
  sequence? = yes|no>
   here document
</p:input>

4 for p:output

<p:output
  port = QName
  sequence? = yes|no />
<p:output
  port = QName
  step = step name
  source = port name
  sequence? = yes|no />
<p:output
  port = QName
  href = URI
  sequence? = yes|no />
<p:output
  port = QName
  sequence? = yes|no>
   here document
</p:output>

4 for p:parameter

<p:parameter
  name = token />
<p:parameter
  name = QName
  value = string />
<p:parameter
  name = QName
  step = step name
  source = port name
  select? = XPath expression />
<p:parameter
  name = QName
  href = URI
  select? = XPath expression />
<p:parameter
  name = QName
  select? = XPath expression>
   here document
</p:parameter>

3 for p:choose

<p:choose
  name = QName>
   (p:when*,
    p:otherwise?)
</p:choose>
<p:choose
  name = QName
  step = step name
  source = port name>
   (p:when*,
    p:otherwise?)
</p:choose>
<p:choose
   name = QName
   href = URI>
    (p:when*,
     p:otherwise?)
</p:choose>


and 3 for p:when
<p:when
  test = expression>
   (p:output*,
    p:parameter*,
    subpipeline)
</p:when>
<p:when
  test = expression
  step = step name
  source = port name>
   (p:output*,
    p:parameter*,
    subpipeline)
</p:when>
<p:when
  test = expression
  href = URI>
   (p:output*,
    p:parameter*,
    subpipeline)
</p:when>

I now begin to agree that Murray'idea of a subordinated element would
be a *good* idea
It will at least simplify the spec
This subordinated element
we could name it p:content
will have three forms
<p:content port='' step='' />
<p:content href='' />
<p:content>
  ...here document
</p:content>

It will simplify the elements

Was it your point Murray ?

Regards

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 30 November 2006 17:07:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT