discuss: Docbook XML and ENTITIES


Previous by date: 9 Jun 2003 21:42:17 -0000 Re: PHP-Nuke HOWTO size, Greg Ferguson
Next by date: 9 Jun 2003 21:42:17 -0000 Re: Docbook XML and ENTITIES, Martin A. Brown
Previous in thread: 9 Jun 2003 21:42:17 -0000 Docbook XML and ENTITIES, Hal Burgiss
Next in thread: 9 Jun 2003 21:42:17 -0000 Re: Docbook XML and ENTITIES, Martin A. Brown

Subject: Re: Docbook XML and ENTITIES
From: David Horton ####@####.####
Date: 9 Jun 2003 21:42:17 -0000
Message-Id: <3EE50090.9010700@megsinet.net>

Hal Burgiss wrote:
> Example: 
> 
>  <!ENTITY % draft "INCLUDE">
> 
> Does Docbook XML support this, and if so what is the correct syntax? 
> 
> This works with SGML but not XML:
> 
>  <![%draft;[ testing this stuff  ]]>
> 

Hal,

Here is an example from an XML document that is divided into many 
separate files and then brought together using entities:

In the beginning I declare:
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY intro SYSTEM "intro.xml">
...and so on...

And then later in the document I use it as:
&intro;
&legal;
...and so on...

Hope that helps.

Dave


Previous by date: 9 Jun 2003 21:42:17 -0000 Re: PHP-Nuke HOWTO size, Greg Ferguson
Next by date: 9 Jun 2003 21:42:17 -0000 Re: Docbook XML and ENTITIES, Martin A. Brown
Previous in thread: 9 Jun 2003 21:42:17 -0000 Docbook XML and ENTITIES, Hal Burgiss
Next in thread: 9 Jun 2003 21:42:17 -0000 Re: Docbook XML and ENTITIES, Martin A. Brown


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.