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: Newbie troubles with Docbook/XML + XHTML


Add: 	<xsl:with-param name="indent" select="'yes'"/> to Jeff's
example:

<!-- This adds the XHTML DOCTYPE declaration-->
  <xsl:call-template name="write.chunk.with.doctype">
    <xsl:with-param name="filename" select="$filename"/>
	  <xsl:with-param name="indent" select="'yes'"/>
   <xsl:with-param name="doctype-public">Insert XHTML Public DOCTYPE
here</xsl:with-param>
   <xsl:with-param name="doctype-system">Insert XHTML System DOCTYPE
here</xsl:with-param>
...

David

> -----Original Message-----
> From: John Levon [mailto:levon@movementarian.org]
> Sent: Friday, May 03, 2002 11:25 AM
> To: docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: Newbie troubles with Docbook/XML + XHTML
> 
> 
> On Fri, May 03, 2002 at 05:11:37PM +0100, John Levon wrote:
> 
> > > However, you can write a customization template to handle 
> this (note that I
> > > didn't get the XHTML DOCTYPE - I'm too lazy to look it 
> up, and I don't have
> > > it memorized)
> > 
> > Works a treat, thanks /very/ much. Now the only problem I have
> 
> I spoke a little too soon, how do I add indent=yes to this 
> for chunk.xsl ?
> I've tried every obvious variation my XSL "skills" allow.


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