This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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...

suggest: exists functions that strips beginning relative paths or strips out 
all characters until last slash /, and then apply to this the contains, 
function ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]