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: [mdione@grulic.org.ar: [docbook] external examples]


[moving this thread to docbook-apps where it belongs]

Are you using the XSL or DSSSL stylesheets?
If you are using XSL, then XInclude can be used instead
of entity references to pull in such code and escape
it properly.


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

> 
> Date: Tue, 8 Apr 2003 19:41:30 -0300
> From: Marcos Dione <mdione@grulic.org.ar>
> To: docbook@lists.oasis-open.org
> Subject: [docbook] external examples
> 
> 
>     first of all, I'm not subscribed, so please cc me.
>     
>     then, to the problem. I have a boot that teaches html. I put some examples
> here and there. I want to keep the examples in separate files, as I change them
> constantly, due to editorial work. so, I put them in separate files. then I
> declare entities that reference those files, and use them in the chapters at
> will.
> 
>     *but*, as they're html files, I gotta either scape them, or cdata them.
> scaping them is hard, as I need them to make the screenshots. I could preprocess
> them to make the real html files, yes, but that's my last resort. and the
> solution to cdata then doesn't works, as I can't reference entities there.
> 
>     the exact example would be:
>     
> ..
> <programlisting> <![cdata[ html file goes here ]]> </programlisting>
> ..
> 
>     any suggestions?
> 


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