Specifying paths with a leading dot causes problems, for example:
<xsl:param name="html.stylesheet" select="'./docbook-xsl.css'"/>
This generates validation errors like:
ERROR: article.epub/OEBPS/index.html(4):
'OEBPS/./docbook-xsl.css': referenced resource missing in the package
The file is in the archive at the correct location, just doesn't
seem to like './' in the path name -- the path needs to be normalized
before being written to the contents.opf.
It's not just the valdiator, the file is missing when the EPUB is viewed
(in bookworm).
This works fine:
<xsl:param name="html.stylesheet" select="'docbook-xsl.css'"/>
Environment: DocBook XSL 1.75.2; Ubuntu 8.04
Keith Fahlgren
XSL
output: ePub
Public
| Field | Old Value | Date | By |
|---|---|---|---|
| category_id | ePub | 2009-09-03 13:28 | abdelazer |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use