This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] [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 at sco dot com

> 
> Date: Tue, 8 Apr 2003 19:41:30 -0300
> From: Marcos Dione <mdione at grulic dot org dot ar>
> To: docbook at lists dot oasis-open dot 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?
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]