W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2008

Re: system-properties(), was Re: p:xslt

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 12 Dec 2008 12:57:15 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2ljulnuo4.fsf@nwalsh.com>
"Dave Pawson" <dave.pawson@gmail.com> writes:

>  <p:with-param name="product-name"
> select="p:system-property('p:product-name')"/>
>  <p:input port="stylesheet">

<p:inline>

>    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                    version="1.0">
>      <xsl:param name="product-name"/>
>      <xsl:template match="/">
>        <doc><xsl:value-of select="$product-name"/></doc>
>      </xsl:template>
>    </xsl:stylesheet>

</p:inline>

>  </p:input>
> </p:xslt>
> </p:pipeline>
>
> Is the nearest I've got.
>
> Error  : Pipeline failed: java.lang.IllegalArgumentException:
> Unexpected in input: xsl:stylesheet
>
> Suggestions please?

See above.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Consistency requires you to be as
http://nwalsh.com/            | ignorant today as you were a year
                              | ago.--Bernard Berenson

Received on Friday, 12 December 2008 17:57:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 December 2008 17:57:56 GMT