Thank you for your quick reply

You are right, Docbook stylesheets delegates image scaling
to the browser. I hope to have a while to implement the
enhancement, but it will require extra Java code out of XSLT
maybe this can't be packed into Docbook stylesheets.
Anyway I will let you know about my findings.

El 10/06/11 12:19, Hussein Shafie escribió:
> I'm sorry but the answer is no. The reason is that we merely use the
> DocBook XSL stylesheets in our products and we do not attempt to improve
> them.
>
> I thought that it was the Web browser (i.e. Firefox) which scaled the
> images referenced in the HTML generated by the DocBook XSL stylesheets.
> To my knowledge, the DocBook XSL stylesheets do not attempt to scale
> these images. Am I wrong is saying that?
>
> If I'm right then you mean that Web browsers do a poor job in scaling
> the images as specified by the width and height attributes of the img
> element. Because of this poor job, you would like to replace
>
> <img src="photo.jpeg" width="200" height="400"/>
>
> by a prescaled image:
>
> <img src="photo_prescaled_to_200x400.jpeg"/>
>
> If, in the future, you want to do that, then I suggest to contribute
> your enhancements directly to the DocBook XSL stylesheets dev team
> (http://sourceforge.net/projects/docbook/). By doing this, you ensure
> that we'll integrate your enhancement into XXE.
>
>
>


-- 
Alberto Gonzalez Tellez
E.T.S. de Informatica Aplicada.
C/ Camino de Vera s/n 46022 Valencia (Spain)
Tel: 34-96-3877007 ext 75770 Fax: 34-96-3877579
e-mail: [email protected], web: www.disca.upv.es/agonzale


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to