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


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

external programlistings


I currently have a document that uses a programlisting with a CDATA 
section inside it containing the sample program.  It's a CDATA 
section because the program contains characters that would invalidate 
the markup if they weren't escaped.

However, I'd like to have the program reside in an external file, 
say, "Tutorial1.java".  Is there a way for me to include the external 
file and have it treated as if it were a CDATA section?  This would 
save me from having to maintain two copies of the program content.

-- 
+-------------------------------------------------------------------+
| Dave Makower                                 <davemak@iclick.com> |
| Manager of Portal Architecture & Development                      |
+--------------------------------+----------------------------------+
|   iClick, Inc.                 |   (914) 872-8030                 |
|   120 Bloomingdale Road        |   (914) 872-8100   fax           |
|   3rd Floor                    |   (914) 872-8000   main          |
|   White Plains, NY  10605      |   http://www.iclick.com/         |
+--------------------------------+----------------------------------+


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