> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>

Hi,

Just for the sake of completeness:

>   <xsl:variable name="lastCat"><xsl:value-of select="
> normalize-space(preceding-sibling::node()[2]/id)"/></xsl:variable>
>   <xsl:variable name="lastType"><xsl:value-of select="
> normalize-space(preceding-sibling::node()[2]/Type)"/></xsl:variable>

It's a tiny bit more efficient to initialize xsl:variables using select,
like:

<xsl:variable name="lastCat" select="normalize-space(...)" />

as mentioned in Xalan's FAQ:
http://xml.apache.org/xalan-j/faq.html#faq-N10148


Good Luck!

Greetz,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to