Re: [xsl] RE: String manipulation in XSLT

Subject: Re: [xsl] RE: String manipulation in XSLT
From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx>
Date: Thu, 20 Oct 2005 10:08:22 -0700
On Thu, 20 Oct 2005 09:45:00 -0700 I wrote:

In my XSLT 1.0 example I wrote,
< ...
< <xsl:otherwise>
<   <xsl:value-of select="$package" />

D'oh, silly me. I forgot to adjust for the first
recursive pass. To strip the false leading '.' one
would could use

  <xsl:value-of select="substring-after($package, '.')"/>

So I've seen different takes on this list re 1.0 vs the
not-yet-released 2.0, but at my department we made the choice that the
benefits of 2.0 outweigh the costs of adjusting any 2.0 code which
gets modified between now and final draft.


Jim

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson                       jim.robinson@xxxxxxxxxxxx
Stanford University HighWire Press      http://highwire.stanford.edu/
+1 650 7237294 (Work)                   +1 650 7259335 (Fax)

Current Thread