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] How to handle XML code in programlistings?

You can also import an external XML file using XInclude with a parse="text" 
attribute, which escapes all the markup. Then you can use an areaspec to 
place the callouts.  It is tricky, because you have to use coordinates in 
the areaspec, but you don't have to manually escape any XML code.  You have 
to use a Java processor to get the callouts extension, and you have to 
configure in a recent version of Xerces (like 2.9.0) as the parser that can 
handle XIncludes.

See this reference for an XInclude example:


and see this reference for an areaspec example:


Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Darya Said-Akbari" <darya_akbari@yahoo.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, June 05, 2007 8:09 AM
Subject: [docbook-apps] How to handle XML code in programlistings?

> Hi,
> I would like to use <programlistingco> for some XML
> code.
> Is it possible at all?
> Regards,
> Darya
>      __________________________________  Yahoo! Clever: Sie haben Fragen? 
> Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
> ---------------------------------------------------------------------
> 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]