OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: DocBook/XSL Renders <img /> without the alt="..." attribute in XHTML mode (xsltproc/xalan)


Hi all,

DocBook/XSL ( docbook-style-xsl-1.77.1-3.mga3 on Mageia Linux 3/Cauldron)
converts DocBook 5 with <mediaobject> with the <alt> tags to <img />s without
the alt="..." attribute. I am attaching here a sample document (compressed with
gzip) - it's in Hebrew, but you can view the XHTML fine.

Here are the command I use to render it and both give me <img-s without the
alt="..." attribute:

$ java org.apache.xalan.xslt.Process -IN hebrew-html-tutorial.xml -XSL
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl -OUT
foo.html

$ xsltproc http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
hebrew-html-tutorial.xml

I verified that they open files
from /usr/share/sgml/docbook/xsl-stylesheets-1.77.1/xhtml/html-rtf.xsl / etc.

Can anyone help? Am I doing something wrong? Is this a bug? Is there a
workaround?

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Freecell Solver - http://fc-solve.shlomifish.org/

<ew73>  VB.NET is all of the fun of enforced privacy OO with all of the power
of BASIC.           — Freenode’s #perl

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Attachment: hebrew-html-tutorial.xml.gz
Description: GNU Zip compressed data



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]