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: Réf.[2]_:_Réf.[2]_:_Transforming_non_structured_XML_into structured XML with XSLT



--- bruno.o.faure@bnpparibas.com wrote:
> 
> 
> Actually, maybe I wasn't very clear, by "an undetermined number of folder",
> I meant an undetermined number of relationship parent/child :
> For example :
> <row lib="data" folder1="f1" folder2="f2" folder3="f3" folder4="f4" ..../>
> means that f1 contains f2, which contains f3, which contains f4, ... which
> contains data.
> 
> It seems to me that it becomes much more complex to manage, no ?

Once again, you don't need to have more than two "folder" attributes per "row"
element.

The above can be expressed as:

<row folder1="f1" folder2="f2"/>
<row folder1="f2" folder2="f3"/>
<row folder1="f3" folder2="f4"/>
................................

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]