Subject: Re: [xsl] Variables and HTML From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 15 Mar 2005 00:08:13 GMT |
> A table is built for the list to go in and the first column is started. > When the breakpoint node is rendered, a named template is called which > ends the first column and starts the second (with logic for continuation > headings). You mean you use d-o-e to issue a close tag and an open tag to start the next column? The XSLT way would be to first select the nodes for the first column and generate that, then select the nodes for building the second column, sosomething like <page> <xsl:apply-templates select="id($breakpoint)/preceding-sibling::*"/> </page> <page> <xsl:apply-templates select="id($breakpoint)|id($breakpoint)/following-sibling::*"/> </page> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Customising an XSLT proce, Wendell Piez | Thread | Re: [xsl] Variables and HTML, Wendell Piez |
Re: [xsl] Variables and HTML, Wendell Piez | Date | Re: [xsl] Variables and HTML, Wendell Piez |
Month |