This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: docbook-xsl: has.ext doesn't work with relative paths...
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Lorenzo Delana <ldelana at libero dot it>
- Cc: docbook at lists dot oasis-open dot org
- Date: Sat, 04 May 2002 10:25:00 -1000
- Subject: DOCBOOK: Re: docbook-xsl: has.ext doesn't work with relative paths...
- References: <200204270001.09065.ldelana@libero.it>
/ Lorenzo Delana <ldelana@libero.it> was heard to say:
| see at common.xsl of docbook-xsl
|
| <xsl:variable name="has.ext" select="contains($filename, '.') != ''"/>
|
| this doesn't work when filename="../test" suppose test.png is the file...
Oops.
| suggest: exists functions that strips beginning relative paths or strips out
| all characters until last slash /, and then apply to this the contains,
| function ?
Fixed.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Sometimes in life situations
http://www.oasis-open.org/docbook/ | develop that only the half-crazy
Chair, DocBook Technical Committee | can get out of.--La Rochefoucauld