thanks michael,
I knew something was wrong, when things got complicated.
these substring thingies were exactly what I needed
jan
On Sat, 27 Nov 2004 09:51:42 -0000, Michael Kay <mike(_at_)saxonica(_dot_)com>
wrote:
<xsl:value-of
select="translate(string(site:xml-file), $baseDir, '')"/>
</site:link>
</site:document>
</xsl:template>
but keep getting strange, scrambled results...
Scrambled yes, strange no. Read the spec of translate()! Used like this, it
deletes all occurrences of characters that appear anywhere in $base-dir from
the contents of site:xml-file. You seem to be imagining that it does
something completely different.
Take a look at the spec of substring-after and see whether that better meets
your needs.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--
--
Jan
http://www.limpens.com
Otakoo Saloon Cartoon - newest episode at http://limpens.com/oscredirect
--~------------------------------------------------------------------
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>
--~--