[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Public/System doctype IDs misbehaving in Eclipse output (1.73)
That addressed the problem quite nicely, thank you very much. I would have been groping for that for quite a while. -----Original Message----- From: Keith Fahlgren [mailto:abdelazer@gmail.com] Sent: Thursday, March 18, 2010 7:15 AM To: David Cramer Cc: Jeff Hooker; DocBook Apps Subject: Re: [docbook-apps] Public/System doctype IDs misbehaving in Eclipse output (1.73) On Wed, Mar 17, 2010 at 6:27 PM, David Cramer <dcramer@motive.com> wrote: > I was never able to get around that (but I don't think it occurred to me > to ask here). I ended up post-processing the plugin.xml and toc.xml > files to remove the doctype. > > I'll be interested in hearing if there's a right way. I have a vague > idea/memory that this is a saxon thing. I ran into the same problem with the ePub stylesheets. Under the hood, this uses the template named "write.chunk". From a quick look at the SVN trunk, I think you'd want to add two paramaters to the call to write.chunk that generates these files and overrides the doctype you're setting elsewhere: Index: eclipse.xsl =================================================================== --- eclipse.xsl (revision 8582) +++ eclipse.xsl (working copy) @@ -114,6 +114,8 @@ <xsl:with-param name="encoding" select="'utf-8'"/> <xsl:with-param name="indent" select="'yes'"/> <xsl:with-param name="quiet" select="$chunk.quietly"/> + <xsl:with-param name="doctype-public" select="''"/> <!-- intentionally blank --> + <xsl:with-param name="doctype-system" select="''"/> <!-- intentionally blank --> <xsl:with-param name="content"> <xsl:choose> @@ -207,6 +209,8 @@ <xsl:with-param name="encoding" select="'utf-8'"/> <xsl:with-param name="indent" select="'yes'"/> <xsl:with-param name="quiet" select="$chunk.quietly"/> + <xsl:with-param name="doctype-public" select="''"/> <!-- intentionally blank --> + <xsl:with-param name="doctype-system" select="''"/> <!-- intentionally blank --> <xsl:with-param name="content"> <plugin name="{$eclipse.plugin.name}" id="{$eclipse.plugin.id}" ...that said, I've never used the Eclipse output, so this is just a guess based on what is in SVN... Keith
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]