[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?
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:darya_akbari@yahoo.com]
> Sent: Tuesday, June 05, 2007 11:09
> To: docbook-apps@lists.oasis-open.org
> 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]