OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Storing data within Docbook?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Also you could consider using Processing Instructions (PI), which have
the following syntax:

<?MyProcessorName Anything you like in here ?>

This is a general-purpose mechanism for embedding metadata in an XML
file. Sounds like it might be useful in this case (but you'll have to
write your own tool or script to process the PI nodes).

On 19/11/2013 14:19, Jirka Kosek wrote:
> On 19.11.2013 1:34, Vadim Peretokin wrote:
>> I'm transforming some data from an XML format into a Docbook
>> table - but not all of the data in the XML is to be displayed in
>> Docbook. I would, however, like to store it in my Docbook XML -
>> because future transformations would like to read my Docbook XML
>> and they'd need all of the data that went into it. I'd rather not
>> introduce a secondary file for storing the extra data - this
>> would bring complications and fragility.
> 
> The easiest way to do this is to add <info> element to the table
> and put you raw XML data there -- they just must be in different
> namespace then DocBook in order to validate.
> 
> Jirka
> 
> 

- -- 
Fintan Bolton

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJSi2zPAAoJEPmghGy20TDthLwH/3JfXiC1sCso6aGG7XLwj38K
TMeBTUUE6keiM4Q01FBaOb0cIbkVeklZh6OFbSUwjd1Dfy8W2mVhzL+Ql62zFJLq
iWGt8RHL9rKTRhxetti757C2pe9CJ4j8TUYc5PqCGntSKIWqxrcOVCbjIZTiI3et
pO1VEc22V06uuhMyk2tN9ZXX0MSDV4CmLYDKXOT+6Hpkzk+emujfYghUi+57AK/w
R8VnU3Ei9SBCP4SOGK9kl5jnXKA29FK+8eZIeaNXTY6BEqM0BMnnPbK4VIk+gMvL
rjidSEg4P8O3SxyN3TfKqo0F/qKCVsXVPKibFbYJqbOCiMYTzod+CP7HXim0cbs=
=Sl4t
-----END PGP SIGNATURE-----


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]