Re: [xsl] Re: Réf.[2]_:_Réf.[2]_:_Transforming_non_structured_XML_into structured XML with XSLT

Subject: Re: [xsl] Re: Réf.[2]_:_Réf.[2]_:_Transforming_non_structured_XML_into structured XML with XSLT
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 9 Aug 2001 05:38:46 -0700 (PDT)
Goetz Bock wrote:


> > > <row lib="data" folder1="f1" folder2="f2" folder3="f3" folder4="f4" ..../>
> > <row folder1="f1" folder2="f2"/>
> > <row folder1="f2" folder2="f3"/>
> > <row folder1="f3" folder2="f4"/>
> While this discussion is mood anyways (the original poster stated, that
> (s)he cant change the XML file anyway), this is not true. imagin the
> following structur
> 
> /
> +- f1
> |  `- f2
> |     `- f3
> |        `- f4
> `- f2
>    `- f4
> 
> this can not be represnted with just two folders per row. It would only
> work IF the value of foler1/2 where IDs (IIRC they are names)


No, it will work:
<row folder1="ROOT" folder2="f1"/>
<row folder1="ROOT" folder2="f2"/>
....................................
etc.

There's always a special name like "ROOT" -- it may be "My Computer" or "My Network
Places".

Cheers,
Dimitre Novatchev

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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


Current Thread