Hope that this is the right list for this sort of question. I have a challenge that I could use some help to find the best way to do this.
I have a table, <informaltable> to be more specific, which somewhat represents print out of XML codes.
Now if this were just regular content I could set it in something like <programlisting> or some other preformatted element, but in this case the elements are marked up as inside a table with each line of code as a row.
So the output I am looking to make is got to look somewhat XML code - like the following example.
an example using "_" to ensure spacing is depicted as desired.
To show the output needs to be indented as in the above examples.
It is in a table...
and output looks like :
This is not really a problem in HTML can use or CSS to create indents.
However I need something that will work for FO/PDF output as well.
Is there any docbook tool, processing instruction, code, that can do this?
Someone else must have had something similar?
What is best way to get horizontal spacing and indents to pass through, like preformatted text, inside a table??
Just looking for some ideas.
Thank you in advance.