|
-
Searching an XML file
Hi,
I'm new to xml and have a question about searching an xml file and returning a result.
I have a dataset with related 2 tables (for simplicity) which I convert to an XML file.
e.g tblPerson (parent) and tblOccupation (child)
tblPerson Columns
ClientCode (pk)
FirstName
Surname
tblOccupation Columns
ClientCode (pk,fk)
Occupation
Is it possible to search the xml file for all matching values (e.g "WHERE Occupation = 'Vodafone' ") in the childTable and have it return/create an XML file with the Dataset schema and all the parent nodes (tblPerson Rows) that matched the search criteria.
I would then be able to read the xml file back into my DataSet which would update the ParentTable to only show the rows whose childTable matched the search criteria.
I don't need to know how to do this (although it'd be nice), I just need to know if this is possible so I don't waste time trying to learn how to do it only to find out it can't be done.
I hope this is clear anyway.
Thanks
Ger
Similar Threads
-
By smithg22 in forum VB Classic
Replies: 9
Last Post: 04-12-2005, 06:23 PM
-
Replies: 0
Last Post: 03-21-2002, 06:10 PM
-
By Tomer Cagan in forum ASP.NET
Replies: 1
Last Post: 07-24-2001, 09:01 AM
-
By Kelvin Teh in forum XML
Replies: 3
Last Post: 02-16-2001, 10:09 AM
-
Replies: 5
Last Post: 12-09-2000, 11:50 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks