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

"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 UTC