- From: <David.Pawson@rnib.org.uk>
- Date: Mon, 9 Feb 2004 08:51:50 -0000
- To: obecker@informatik.hu-berlin.de, public-qt-comments@w3.org
-----Original Message-----
From: Oliver Becker [mailto:obecker@informatik.hu-berlin.de]
Sent: 06 February 2004 12:51
To: public-qt-comments@w3.org; mhk@mhk.me.uk
Subject: Re: [XSLT2] OB06 xsl:analyze-string
Mike,
> I think the working group members would find it very much
easier to
> assess the value of what you are proposing if you could
provide some
> examples or use cases that show how the facility would be used,
> ideally comparing the existing solution with the new solution.
Speaking in support of Olivers proposal:
With an xml to \tex recent case,
<xsl:function name="dp:escHash" as="xs:string">
<xsl:param name="str" as="xs:string"/>
<xsl:variable name="t0">
<xsl:value-of select="if (contains($str,'{' ))
then replace($str, '\{', '{day}{of}')
else $str"/>
</xsl:variable>
etc.
to achieve the objective of this proposal, multiple replacements
in the same string, I had 8 sequences of variable creation
based on the previous substitution.
Very messy.
Good proposal Oliver.
regards DaveP
AC RNIB.
*** snip here ***
-
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
Received on Monday, 9 February 2004 03:52:08 UTC