W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2010

RE: How to pass "([^"]+)" as a parameter in p:xslt

From: <Toman_Vojtech@emc.com>
Date: Fri, 30 Jul 2010 09:12:22 -0400
Message-ID: <997C307BEB90984EBE935699389EC41C01F72A50@CORPUSMX70C.corp.emc.com>
To: <xproc-dev@w3.org>
> I'm getting the same error with the that as well.

Hm. What if you reverse the order of the outer ' and " characters? Like
this:

<p:with-param name="regex" select="'([^&quot;]+)'"/>

In this case, the resulting XPath expression that will be evaluated will
be: '([^"]+)'


Regards,
Vojtech

--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech
Received on Friday, 30 July 2010 13:13:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 30 July 2010 13:13:03 GMT