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

Retreival / Adding to xml file

Subject: Retreival / Adding to xml file
From: "Priya Pinto" <itfresher@xxxxxxxxxxxxxx>
Date: 11 Sep 2000 12:16:08 -0000
adding to xml file
Hi,

I've got an XML file which am using as a database and I am able to add a field to it by using jsp and the sun's jaxp parser. But while adding I need to find out the last id so that I can increment it while adding a new record. How do I retreive the id and do this? 

the xml structure is like this

<books>
<bm>
<id>b001</id>
<title>XML</title>
<description>A beginners tutorial</description>
<urls>http://www.xml.com</urls>
<category>General</category>
</bm>
<bm>
<id>b002</id>
<title>Complete Reference JAVA</title>
<description>For the basics in Java</description>
<urls>http://www.sun.java.com</urls>
<category>personal</category>
</bm>
</books>

Thanks
Priya


_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.