On 2011-05-21 12:20, Imsieke, Gerrit, le-tex wrote:
On 2011-05-21 12:13, Imsieke, Gerrit, le-tex wrote:
Two corrections:
===========8<------------------------
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:my="my"
xmlns:java-urldecode="java:java.net.URLDecoder"
exclude-result-prefixes="my xs"
>
...
<string encoding="{regex-group(1)}" lang="{regex-group(3)}"
<string encoding="{regex-group(1)}" lang="{regex-group(2)}"
yield:
<test xmlns:java-urldecode="java:java.net.URLDecoder">
<string encoding="us-ascii" lang="en-us"
encoded="This%20is%20%2A%2A%2Afun%2A%2A%2A">This is ***fun***</string>
<string encoding="iso-8859-1" lang="en" encoded="%A3%20rates">£
rates</string>
<string encoding="UTF-8" lang=""
encoded="%c2%a3%20and%20%e2%82%ac%20rates">£ and € rates</string>
</test>
...
This looks very promising, thanks a lot. Will let you know when I have
applied it to my code.
Best regards, Julian
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--