OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC