Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Referencing GCVs in XSLT Rules

10 views
Skip to first unread message

Tom Barrand

unread,
Nov 13, 2006, 9:57:14 AM11/13/06
to
Hi,

Is it possible to reference a Global Configuration Value that has been
created within a Driver within an XSLT based rule and how would this be
done?

Thanks

Tom

Shon Vella

unread,
Nov 13, 2006, 12:01:56 PM11/13/06
to
Also worth noting that if you are using the value of a GCV within an
XPath expression and expect it to be interpreted as a string, you need
to surround it with the appropriate quote characters: e.g. '~name of GCV~'.


--

Shon

Bruno Guay wrote:
> Yes, just use the name of the GCV surrounded by tildes like this:
> ~name of GCV~
>
> Works in XPATH expressions too.
> These GCVs behave more like macros than like variables; they are
> replaced by their value when the connector is started and cannot be
> changed while it's running.
>
> -------- Message d'origine--------
> *De:* dirxml-de...@forge.novell.com de la part de Tom Barrand
> *Date:* lun. 2006-11-13 09:57
> *À:* dirxm...@forge.novell.com
> *Cc:*
> *Objet:* Referencing GCVs in XSLT Rules

Bruno Guay

unread,
Nov 13, 2006, 10:20:53 AM11/13/06
to
Yes, just use the name of the GCV surrounded by tildes like this:
~name of GCV~
 
Works in XPATH expressions too.
These GCVs behave more like macros than like variables; they are replaced by their value when the connector is started and cannot be changed while it's running.
-------- Message d'origine--------
De: dirxml-de...@forge.novell.com de la part de Tom Barrand
Date: lun. 2006-11-13 09:57
À: dirxm...@forge.novell.com
Cc:
Objet: Referencing GCVs in XSLT Rules

0 new messages