This is the mail archive of the xsl-list@mulberrytech.com mailing list .


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: creating nesting from flat xml


Right on!

thank you, jenis' solution in part 2 of the FAQ is perfect

http://www.dpawson.co.uk/xsl/sect2/flatfile.html


<xsl:apply-templates
select="following-sibling::item[generate-id(preceding-sibling::firstitem[1])
= generate-id(current())]" />

i had my transform working in 10 minutes after reading that, too bad i did not get the digest or the archives arent updated till midnight, it is 3am now, guess it will be a late start tommorow

darrell


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


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