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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: Building books with variables in them



Norm et al:

> Create your book like this:
> 
> <!DOCTYPE book ... [
> <!ENTITY version SYSTEM "version.sgm">
> ]>
> <book>
> ...
> <para>This is version &version;.</para>

I reckon that a perl script with this pseudo code:

subst_variables -f file.sgml entity1=value

#! /usr/bin/perl

[Use a REGEX operation to subst the value of ENTITY1 with value]

Would work a treat...

DL
-- 
To the thirsty I shall give water without price
 From the fountain of the water of life
 He who conquers shall have his heritage
 And I shall be his God and he shall be my son


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


Powered by eList eXpress LLC