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 utput of XSLT transformation?


At 16:05 25/07/2003 -0400, Daniel Veillard wrote:
On Fri, Jul 25, 2003 at 03:32:16PM -0400, Taro Ikai wrote:
> What I want is to write out <!ENTITY...> declarations within a <!DOCTYPE
> declaration.
> For example:
>
> <!DOCTYPE chapter SYSTEM "c:/docbook/4.2/docbookx.dtd" [
>  <!ENTITY % global_entities SYSTEM "c:/mydoc/myentities.ent">
>   %global_entities;
>  ]>
>
> So according's Jeff's suggestion, the basic idea should be to write:
>
> <xsl:output method="xml" doctype-system="<!DOCTYPE chapter SYSTEM
> "c:/docbook/4.2/docbookx.dtd" [<!ENTITY % global_entities SYSTEM
> "c:/mydoc/myentities.ent">%global_entities;]>"</xsl:output>

  No this is not legal. This will not work and if this work I may well
fix this in any future version of xsltproc. You cannot generate an internal
subset with XSLT,


http://www.dpawson.co.uk/xsl/sect2/N2281.html#d2816e181

shows one way round it.

I've used DOE in the past.

HTH DaveP



---------------------------------------------------------------------
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]