xproc / 3.0-specification

A community-driven effort to define an XProc 3.0 specification (formerly 1.1)
http://spec.xproc.org/
33 stars 10 forks source link

Legacy example for p:http-request? #1066

Closed xml-project closed 2 years ago

xml-project commented 2 years ago

In 15.7.4 I think the example uses c:request/c:body concept from XProc 1.0 to express the content of an HTTP-request. I think the XProc 3.0 way should be:

<p:http-request method="post" href="http://example.com/form-action">
   <p:with-input>
      <p:inline content-type="application/x-www-form-urlencoded">name=W3C&amp;spec=XProc</p:inline>
   </p:with-input>
</p:http-request>

Did I miss something?