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]

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


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


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