[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

group by tags

Subject: group by tags
From: IZASKUN GUTIERREZ GUTIERREZ <igutierrez027@xxxxxxxxxxxxx>
Date: Mon, 23 Jun 2008 14:03:26 +0200
 group by tags
Hello everybody!

I need group by tags this xml for example. The problem is that I dont
know the name of the tags. Only I know the tag "Book" and the ID "boo2"


<?xml version="1.0"?> <rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<Book rdf:ID="boo2">
   <address rdf:dataytpe="aaa">Almogavers 56</address>

   <event>
      <Inbook>
         <month rdf:dataytpe="bbb">July</month>
      </Inbook>
   </event>
   <event>
      <Inbook>
         <year rdf:dataytpe="ccc">2006</year>
      </Inbook>
   </event>

   <proceedings>
      <Proceedings>
        <year rdf:dataytpe="ddd">2008</year>
      <Proceedings>
   <proceedings>


</Book>


</rdf:RDF>



I want this result:

<?xml version="1.0"?>
<rdf:RDF   xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<Book rdf:ID="boo2">
   <address rdf:dataytpe="aaa">Almogavers 56</address>

   <event>
      <Inbook>
         <month rdf:dataytpe="bbb">July</month>
         <year rdf:dataytpe="ccc">2006</year>
      </Inbook>
   </event>


<proceedings> <Proceedings> <year rdf:dataytpe="ddd">2008</year> <Proceedings> <proceedings>


</Book>


</rdf:RDF>



Anybody can help me ?

Thank you, Regards

IZASKUN

Current Thread

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-2013 All Rights Reserved.