[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Problems with combining elements

Torsten Grust grust at in.tum.de
Sun Aug 26 14:02:15 PDT 2007


  Problems with combining elements
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.