This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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] Generating JSPs from Docbook/XSLT


I tried that with a very simple XSL file and it works like a charm!

However, I put the same template rule in the Docbook XSL 
customization layer as user.header.content, 
and it seems to ignore the disable-output-spacing attribute
of XSL:text, because the files generated by the 
XSL chunker have those characters escaped!! Any idea why that would be?



On April 20, 2004 03:21 pm, David Cramer (Tech Pubs) wrote:
> Try:
>
>   <xsl:template name="user.header.content">
> 	<xsl:text disable-output-escaping="yes">&lt;%@ include file="/header.html"
>  %></xsl:text> </xsl:template>
>
> http://www.zvon.org/xxl/XSLTreference/W3C/xslt.html#disable-output-escaping
>
> David
>
> > -----Original Message-----
> > From: S. Alan Ezust [mailto:sae@mcs.suffolk.edu]
> > Sent: Tuesday, April 20, 2004 11:54 AM
> > To: docbook@lists.oasis-open.org
> > Subject: [docbook] Generating JSPs from Docbook/XSLT
> >
> >
> > So I went into the XSLT customization layer,
> > and added a template that looks like this:
> >
> > <xsl:template name="user.header.content">
> >     <%@ include file="/header.html"  %>
> > </xsl:template>
> >
> > that didn't work... Wrong syntax.
> > Tried putting it in between
> > <xsl:text>
> >
> > tags but then it prints out the <> as literals.

-- 
S. Alan Ezust
Ottawa, Ontario, Canada
http://cartan.cas.suffolk.edu/~sae

To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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