Svenn Are Bjerkem wrote:
Hi,
I am looking for a way to add meta-data to blocks of document objects,
in particular tables, to add information into the docbook xml so that
I will be able to extract particular information from the docbook xml
by means of command line applications. The table itself will have a
format known to the extracting program, but the program needs to know
which table to extract. The tables will contain compiler directives
for code generation read by other programs, but it is tedious to keep
documentation and external scripts in sync. I see in the informaltable
definition of docbook that an optional blockinfo can be added, but
how, is not clear to me yet, and I don't know if asciidoc will allow
me to add meta-data to tables and how I should do that.

The way would be to define your own XML Processing Instructions (XML's mechanism for passing data and instructions to downstream applications). AsciiDoc itself defines a number of PIs for non-standard stuff in DocBook outputs (e.g. page breaks, line breaks, rulers).

See http://www.w3.org/TR/REC-xml/#sec-pi


Cheers, Stuart



--
Svenn


--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to