Thomas Sommer
Usenet Archive
- Joined
- Aug 29, 2004
- Messages
- 20
- Reaction score
- 0
Hi,
I know doing something like this
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [<!ENTITY test PUBLIC "BLA" "http://localhost/dummy/test">]>
<section><title/>
<programlisting><xi:include href="&test;" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/></programlisting> </section>
Will not work but maybe someone knows a workaround.
Basically I want to insert my programlisting from a global entity. It works if I put the CDATA in front and at the end in the text file but I don't like that since it alters the file.
Does anyone have a bright idea how to solve this issue?
Thanks Thomas
I know doing something like this
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [<!ENTITY test PUBLIC "BLA" "http://localhost/dummy/test">]>
<section><title/>
<programlisting><xi:include href="&test;" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/></programlisting> </section>
Will not work but maybe someone knows a workaround.
Basically I want to insert my programlisting from a global entity. It works if I put the CDATA in front and at the end in the text file but I don't like that since it alters the file.
Does anyone have a bright idea how to solve this issue?
Thanks Thomas