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

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?)

After I profile the default.xml file, the entities are gone, and the
<imagedata> element remains the same (still referencing the entityref, but
entities are undeclared). 

Hope that is clearer.

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Tuesday, April 04, 2006 5:31 PM
To: Webmaster; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] profiling and entities

It isn't possible to preserve unresolved entity references in an 
XSLT transformation.  The XML parser resolves them before the 
stylesheet even sees them.

I guess I'm wondering why resolving the entities in the profiling 
step is different from resolving them in the stylesheet 
application step, since they resolve to the same thing.  How are 
these entity variables used?

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Webmaster" <Webmaster@comtrol.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, April 04, 2006 1:52 PM
Subject: [docbook-apps] profiling and entities

> This is somewhat related to my other post.
> I'm trying to generate htmlhelp, when I do get the profiled xml 
> file, none
> of the ENTITIES are copied over. I need them as they are 
> "variables" to the
> images that are used throughout the xml file. Is there a way to 
> preserve
> these?
> Thank you!
> LN
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org

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