This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] Any way to keep <!DOCTYPE...> definition int o


For now, I am happy with a static external general <!ENTITY> delcaration, 
so I can include a file 
that in turn inlcudes all the global entity definitions. I fugured out how 
to correctly escape the content of 
<xsl:text>:

  <xsl:template match="/">
    <xsl:text disable-output-escaping='yes'><![CDATA[<!DOCTYPE chapter 
SYSTEM "c:/docbook/4.2/docbookx.dtd" [
 <!ENTITY % global_entities SYSTEM "c:/mydoc/myents.ent">
  %global_entities;
]]]>>
    </xsl:text>
    <xsl:apply-templates/>
  </xsl:template>


Daniel, what is dose it mean to 'generate an internal subset with XSLT'?

Does it mean to not let the ENTITY substitutions take place?

Taro

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]