| 
 
Subject: Re: [xsl] most efficient flat file listing to hierarchical From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 11 Jan 2007 18:20:00 +0100  | 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
   <xsl:template match="item[text()[matches(., '\.')]]">
       <file name="{replace(., '.*/', '')}" />
       <xsl:apply-templates select="
           following-sibling::item[starts-with(., replace
           (current(), '[^/]+$', ''))][1]" />
   </xsl:template>
</xsl:stylesheet>-- Abel Braaksma http://www.nuntia.nl
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] most efficient flat file , James Fuller | Thread | Re: [xsl] most efficient flat file , George Cristian Bina | 
| Re: [xsl] Converting XSLT 2.0 Group, Vincent Ng | Date | Re: [xsl] most efficient flat file , Abel Braaksma | 
| Month |