BizTalk Utilities Xselerator XSLT IDE


Forum main page

Most active member

Login page
Register
Log out

Search page

View our event calendar
Add general event such as an upcoming software release or conference
View all birthdays

Public image gallery
Upload your images in your profile

Profile editing page
Subscription list page
Address book page

Member list page
View the most active member
User groups listing

Private message page

Searching an XML file

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Ask XML questions here] >> .NET programming discussions >> Searching an XML file Page: [1]
Login
Message << Older Topic   Newer Topic >>
Searching an XML file - 23 April 2007   
Hallo2oo5

 

Posts: 1
Score: 0
Joined: 23 April 2007
Status: offline
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
Post #: 1
RE: Searching an XML file - 5 June 2007   
HZ

 

Posts: 270
Score: 6
Joined: 10 March 2004
From: Toronto, ON, CANADA
Status: offline
You can achieve your goal by either search from Xml or from your dataset directly

(in reply to Hallo2oo5)
Post #: 2
Page:   [1]
All Forums >> [Ask XML questions here] >> .NET programming discussions >> Searching an XML file Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Email TopXML

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.082