|
Subject: Re: [xsl] difficulty using xsl:analyze-string From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 18 Jul 2018 10:51:29 -0000 |
Thanks, Mike for the thoughts.
On Wed, Jul 18, 2018 at 3:48 PM, Michael Kay mike@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Note that you can achieve what you are doing in 3.0 using the
> unparsed-text-lines() function, and in 2.0 it can be done more simply using
> tokenize() --
>
> 3.0 with expand-text=yes
>
> <xsl:for-each select="unparsed-text-lines('test.txt')">{.}<br/></xsl:for-
> each>
>
> 2.0:
>
> <xsl:for-each select="tokenize(unparsed-text('test.txt')),
> '\r\n'))"><xsl:value-of select="."/><br/></xsl:for-each>
>
> Michael Kay
> Saxonica
>
--
Regards,
Mukul Gandhi
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] difficulty using xsl:anal, Michael Kay mike@xxx | Thread | [xsl] Fwd: Your posting to XSL-List, VISHNU SINGH svishnu |
| Re: [xsl] difficulty using xsl:anal, Michael Kay mike@xxx | Date | Re: [xsl] Techniques for Sorting an, Eliot Kimber ekimber |
| Month |