This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Can I index XML doc with an attribute value like a RDBMS column? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Can I index XML doc with an attribute value like a RDBMS column?" Watch "Can I index XML doc with an attribute value like a RDBMS column?" New topic
Author

Can I index XML doc with an attribute value like a RDBMS column?

subramaniam vaidyanathan
Greenhorn

Joined: Jun 25, 2001
Posts: 10
Hi,
I have an XML document which contains millions of user records from a database. I need to search that XML document ofr a particular user by his name. How would I go about doing it without having to parse through the whole document till I reach the record. Is there some way I can duplicate the functionality of indexing a column in a database by indexing the XML document by the user name? DOM? ???
Subbu
Bangalore, India
 
Don't get me started about those stupid light bulbs.
 
subject: Can I index XML doc with an attribute value like a RDBMS column?