← Prev in month ← Prev in thread

Getting a nice look to xi:included xml

From
Blex [uir
Date
2011-08-03T11:50:29+00:00
ID
CAFtPEJYnABd4msaegXpf=+pCQJO6BOqeW0uRz=s=
Thread
Getting a nice look to xi:included xml
Hi,

I'm including XML files into my docbook file using the following technique.

          <example>
               <title>XML Sample: samples - address - address.xml</title>
               <programlisting><?db-font-size 7pt?><xi:include xmlns:xi="http://www.w3.org/2001/XInclude"

                              href=""../../samples/address/address.xml"                              parse="text">
                     <xi:fallback>SAMPLE MISSING: ../../samples/address/address.xml</xi:fallback>

                  </xi:include>
               </programlisting>
            </example>

I wonder about getting a better look to the included XML such as what is found at http://pastie.org/2284517

Clearly I could write an XSLT after converting the docbook into HTML that formats and adds some style in css to the xml.

I was wondering though if there is any better way to have a nice look to imported xml?

Regards
-- 

Alex Muir
Instructor | Program Organizer - University Technology Student Work Experience Building
University of the Gambia 

http://sites.utg.edu.gm/alex/
Low budget software development benefiting development in the Gambia, West Africa

Experience of a lifetime, come to Gambia and Join UTSWEB - http://sites.utg.edu.gm/utsweb/
← Prev in month ← Prev in thread