Yes. I do it frequently. Here is a sample programlisting with callouts.
It is followed by a calloutlist.
<programlisting><BigElement>
<UserLastName>Sheehy</UserLastName>
<UserFirstName>Michael</UserFirstName>
<UserLogin>msheehy</UserLogin><co id="COUserLogin"
linkends="UserLoginCO" />
<UserPassword>ceeb</UserPassword>
<UserAlias>msheehy</UserAlias><co id="COUserAlias"
linkends="UserAliasCO" />
</BigElement></programlisting>
<calloutlist>
<callout arearefs="COUserLogin" id="UserLoginCO">
<para>Use this name to log in to the application.</para>
</callout>
<callout arearefs="COUserAlias" id="UserAliasCO">
<para>A friendly name to display.</para>
</callout>
</calloutlist>
I did not escape all the XML tags myself, XMLMind XML Editor did that
for me.
Good luck.
Peter Desjardins
> -----Original Message-----
> From: Darya Said-Akbari [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 05, 2007 11:09
> To: [email protected]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]