[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to output open/close tags independently?
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|