List Info

Thread: right width and height-attributes




right width and height-attributes
user name
2007-08-02 08:55:40
Hi all,

I'm processing my docbook sources with xsltproc and all is
fine. 

Graphic-Files are imported like this:

.....
<imageobject role="html">
<imagedata
fileref="../figures_web/sgbmnr-antrag-09.png"
align="center"/>
</imageobject>
.....

And my HTML-output for graphic-files looks like this:

...
<img src="../figures_web/sgbmnr-antrag-09.png"
align="middle"
alt="Ergebnis: Datenpaket">
...

That is not so nice because the width and the height of the
graphic-file
is not in the img-tag.

I already tested the use.extensions and
graphicsize.extension parameters
but with these I get a error-message like this:

No adjustColumnWidths function available

Any hints to get the right width and height-attributes in
the html-File
without writing them in the XML-File?

best regards

 
Robert

 

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: right width and height-attributes
user name
2007-08-02 10:31:19
On Thu, Aug 02 2007 14:55:40 +0100, Robert.Buergelbmw.de
wrote:
> Hi all,
>
> I'm processing my docbook sources with xsltproc and all
is fine. 
...
> That is not so nice because the width and the height of
the graphic-file
> is not in the img-tag.
>
> I already tested the use.extensions and
graphicsize.extension parameters
> but with these I get a error-message like this:
>
> No adjustColumnWidths function available
>
> Any hints to get the right width and height-attributes
in the html-File
> without writing them in the XML-File?

According to the definitive information at
http://www.sagehill.net/docbookxsl/InstallingAProces
sor.html,
graphicsize.extension is usable only with Saxon or Xalan.

IMO, it wouldn't be hard to write the extensions for
xsltproc on
Linux/Unix, but then you'd have to build a custom xsltproc
unless you
can get the extensions accepted into the standard xsltproc.

Regards,


Tony Graham.
============================================================
==========
Tony.GrahamMenteithConsulting.com   http://www.menteith
consulting.com

Menteith Consulting Ltd             Registered in Ireland -
No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co.
Dublin, Ireland
------------------------------------------------------------
----------
Menteith Consulting -- Understanding how markup works
============================================================
==========

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )