This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] giving "Style" images
Actually, the problem is that the XML standard doesn't permit putting an
entity reference in a start tag. It can only appear in an attribute value
in a start tag. See section 3.1 in:
http://www.xml.com/axml/testaxml.htm
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Gisbert Amm" <gia@webde-ag.de>
To: "Jens Skripczynski" <skripi-lists@myrealbox.com>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, June 15, 2004 11:58 PM
Subject: Re: [docbook-apps] giving "Style" images
> Have you already tried
>
> <!ENTITY style="width='9cm' contentwidth='9cm'">
>
> ?
>
> BTW: You've misspelled "width" as "widht" (I don't know if it was a copy
> of your real code or just a typo in the message, but suppose the first).
>
> Gisbert
>
> Jens Skripczynski wrote:
> > Hi,
> >
> > I have a set of screenhots in my document. I want them to appear
> > all the same, but do not yet know the correct size of those images.
> >
> > I tried to define an entity
> > <!ENTITY style="widht="9cm" contentwidth="9cm"" >
> >
> > and use
> > <mediaobject>
> > <imageobject>
> > <imagedata &style;
fileref="images/session/log4j/log4j-add.png" format="PNG"/>
> > </imageobject>
> > </mediaobject>
> > So I can 'play' with the size and change all their style in a single
place.
> >
> > But this does not seem to be the 'xml' way, as xmllint complains.
> >
> > Is there a way to 'macro' attributes for similar elements ?
> >
> >
> > Ciao
> >
> > Jens Skripczynski
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.