|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Problems with combining elementsTorsten Grust grust at in.tum.deSun Aug 26 14:02:15 PDT 2007
Florian, I suppose that in your target XML format below, the second 'Rank' element should have a 'name' attribute with value "Neuweltaffe", is this correct? If not, I think your transformation problem is underspecified as is. Cheers, --Torsten On Aug 21, 2007 at 17:31, Florian Wendland wrote with possible deletions: > Hi all, > > i have a question concerning the combination and disjunction of my > xml structure. You'll find the xml at the bottom. > > The case: > I have a animal strcuture such as class, rank, family and species. > In my xml, all the structural informations are redundant (you see > Altweltaffe several time appear). I want the xml to look like this: > > <root> > <Class name="Säugetiere"> > <Rank name="Altweltaffe"> > <Family name="Meerkatzenartige">...</Family> > <Family name="Schlankaffen">..</Family> > </Rank> > <Rank name="Altweltaffe"> > <Family name="Kapuzinerartige">...</Family> > <Family name="Krallenaffen">..</Family> > </Rank> > ... > </root> -- | Prof. Dr. Torsten Grust http://x-query.com/mailman/listinfo/talk | | http://www-db.in.tum.de/~grust/ | | Database Systems - Technische Universität München (Germany) |
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






