Subject: Re: [xsl] XSL-FO Doctype Problem From: "Karl Stubsjoen" <kstubs@xxxxxxxxx> Date: Sun, 27 Jan 2008 19:24:59 -0700 |
Is that a kludge or a hack ;) In either case, I'll give that a try! On Jan 27, 2008 7:10 PM, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > At 2008-01-27 12:16 -0700, Karl Stubsjoen wrote: > >There is a doctype decleartion in the imported stylesheet. I was > >assuming that the child template importing the base template would be > >able to "un-declare" the doctype setting from the imported stylesheet. > > Is thi not possible? Based on my experience, it is not possible. > > Yes, you cannot un-declare the DOCTYPE, but you can override the > DOCTYPE to have a system identifier that points to an empty zero-byte > file. An empty file is a well-formed external parameter entity. > > So, your importing stylesheet can have: > > <xsl:output doctype-system="dummy.ent"/> > > And you can create a empty dummy.ent file in the same directory. > > The result is well-formed. > > I hope this helps. > > . . . . . . . . . . . . Ken > > -- > World-wide corporate, govt. & user group XML, XSL and UBL training > RSS feeds: publicly-available developer resources and training > G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx > Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ > Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) > Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc > Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL-FO Doctype Problem, G. Ken Holman | Thread | Re: [xsl] XSL-FO Doctype Problem, J.Pietschmann |
Re: [xsl] XSL-FO Doctype Problem, G. Ken Holman | Date | Re: [xsl] combining multiple docume, Steven Ericsson-Zeni |
Month |