RE: [xsl] How to output open/close tags independently?

Subject: RE: [xsl] How to output open/close tags independently?
From: Ed Blachman <EdB@xxxxxxxxxxx>
Date: Tue, 24 Dec 2002 15:04:57 -0500
Ed -- 

Take a look at this entry in the XSLT FAQ
(http://www.dpawson.co.uk/xsl/sect2/N7450.html#d7287e352) to see the
canonically recommended method. While it's part of the "Tables" page in the
FAQ (because that seems to be the context that most frequently gives rise to
this question), it sure looks like it addresses your problem.

Ed Blachman
Trellix Corporation

> -----Original Message-----
> From: Edward L. Knoll [mailto:ed.knoll@xxxxxxxxxxxxxx]
> Sent: Tuesday, December 24, 2002 2:33 PM
> To: XSL Post
> Subject: [xsl] How to output open/close tags independently?
> 
> Is there other recommended methods for doing this?  I'm interested in
> general approaches to this type of problem (as opposed to a specific
> solution to my specific problem).  Two specific aspects of the problem
> I will note are: (a) the new grouping is based on a specified/constant
> number of elements (e.g. every N <x> elements are being packaged under a
> new element) and (b) I am potentially processing a great number of
> elements (e.g. I need an effective solution).
> 
> Thanks,
> Ed Knoll
> 
> p.s. I'm only subscribed to the digest, so if you could reply to me as
> well as to the mailing list I'd appreciate it.
> 
> INPUT:
> <x>...</x>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> 
> OUTPUT:
> <w>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> </w>
> <w>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> </w>
> <w>
> <x>...</x>
> <x>...</x>
> <x>...</x>
> </w>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread