This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: [xsl] Re: Réf.[2]_:_Réf.[2]_:_Transforming_non_structured_XML_into structured XML with XSLT
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Re: [xsl] Re: Réf.[2]_:_Réf.[2]_:_Transforming_non_structured_XML_into structured XML with XSLT
- From: Goetz Bock <bock at blacknet dot de>
- Date: Thu, 9 Aug 2001 14:45:41 +0200
- References: <20010809123846.62366.qmail@web14501.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> > > > <row lib="data" folder1="f1" folder2="f2" folder3="f3" folder4="f4" ..../>
> > > [ ... can be done like: ]
> > > <row folder1="f1" folder2="f2"/>
> > > <row folder1="f2" folder2="f3"/>
> > > <row folder1="f3" folder2="f4"/>
> > [ ... does not work for this: ]
> > /
> > +- f1
> > | `- f2
> > | `- f3
> > | `- f4
> > `- f2
> > `- f4
>
> No, it will work:
> <row folder1="ROOT" folder2="f1"/>
> <row folder1="ROOT" folder2="f2"/>
>
> There's always a special name like "ROOT"
[ slowly it's getting oftoppic, but ]
While this works for the first level, it does not for the seccond, or
how would you represent my full example above:
<row folder1="ROOT" folder2="f1"/>
<row folder1="f1" folder2="f2"/>
<row folder1="f2" folder2="f3"/>
<row folder1="f3" folder2="f4"/>
<row folder1="ROOT" folder2="f2"/>
<row folder1="f2" folder2="f4"/>
could also describe:
/
+- f1
| `- f2
| +- f3
| | `- f4
| `- f4
`- f2
--
Goetz Bock IT Consultant
Dipl.-Inf. Univ.
PGP signature