2012-03-08, 23:09
@Sinnocence: Nice - does that handle the "400r" case as done above in the xlst?
On another note, is it possible with XSLT to transform say:
<tag>Blah Blah Blah $INFO[foo,bar, $LOCALIZE[1234]] Foo Gary</tag>
to:
<tag>"Blah Blah Blah " + Info(foo, "bar", " " + Localize(1234)) + " Foo Gary"</tag>
i.e. $INFO[] -> Info(), anything else (including whitespace) to be placed in quotes and separated via +. 2nd and third params in $INFO[] (including whitespace) to be placed in quotes. First param in $INFO[] to ignore whitespace. Doable, or pipe dream?
Cheers,
Jonathan
On another note, is it possible with XSLT to transform say:
<tag>Blah Blah Blah $INFO[foo,bar, $LOCALIZE[1234]] Foo Gary</tag>
to:
<tag>"Blah Blah Blah " + Info(foo, "bar", " " + Localize(1234)) + " Foo Gary"</tag>
i.e. $INFO[] -> Info(), anything else (including whitespace) to be placed in quotes and separated via +. 2nd and third params in $INFO[] (including whitespace) to be placed in quotes. First param in $INFO[] to ignore whitespace. Doable, or pipe dream?
Cheers,
Jonathan