RE: [xsl] create multiple documents

Subject: RE: [xsl] create multiple documents
From: DPawson@xxxxxxxxxxx
Date: Fri, 19 Oct 2001 11:16:34 +0100
Sebastian wrote:
> I have a document which clocks in at over 1000 pages of densely
> printed A4. Converting it to HTML takes several minutes, and I use
> multiple output files. But I could equally well run several different
> transforms by changing parameters to a cached stylesheet

So again for a large source file,
I want to cut into seperate html files at a <level1> tag,

One template to cover everything in the root document,
then one with
stylesheet parameter of n (varying from 1 - enough)

then template match="level1[position() = $n]" >
  <xsl:document ....
    All children of <level1>

Nice one Sebastian!

Regards DaveP


NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227


 XSL-List info and archive:

Current Thread