← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK: Re: docbook-xsl: has.ext doesn't work with relative paths...

From
Norman Walsh <>
Date
2002-05-05T19:28:02+00:00
ID
Thread
DOCBOOK: Re: docbook-xsl: has.ext doesn't work with relative paths...
/ Lorenzo Delana <> 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 <>      | 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
← Prev in month ← Prev in thread
Next in thread → Next in month →