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: RE: [docbook-apps] profiling and entities

On Tue, 2006-04-04 at 18:05 -0500, Webmaster wrote:
> Hi. Thank you for the quick response.
> The image names are set as entities in the default.xml:
> <!ENTITY imagedata1 SYSTEM "socket_mode.gif" NDATA gif>
> <!ENTITY imagedata2 SYSTEM "serial_tunneling_mode.gif" NDATA gif>
> <!ENTITY imagedata3 SYSTEM "udp_mode.gif" NDATA gif>
> <!ENTITY imagedata4 SYSTEM "connection_status.gif" NDATA gif>
> and the imagedata element calls them:
> <imagedata entityref="imagedata1" align="center"/></imageobject>
> (I don't know why the documentation person choose to do it this way, but
> that's how I got the xml file. Is there a better/typical way?)

DC had a perl solution.

'break' them as entities. 

Process them through the XSLT.
Then 'repair' them again, into entities.

Both pre and post processing via perl scripts.



Dave Pawson
XSLT + Docbook FAQ

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