Wednesday, March 03, 2010

Using XPathDocument in place of DataSet

//Create object of XPathDocument
XPathDocument docNav = new XPathDocument(strPath);
//Create the XPathNavigator
XPathNavigator nav = docNav.CreateNavigator();
//Set the pointer at ShoppingRule node
expr = nav.Compile("/Rule/ShoppingRule");
//Get all the ShoppingRule node from the XML.
XPathNodeIterator parentIterator = nav.Select(expr);
//Treverse on all the shoppingRules node
while(parentIterator.MoveNext()
{
if (parentIterator.Current.HasChildren)
{
//Move to the first child node of the ShoppingRules
parentIterator.Current.MoveToChild(XPathNodeType.Element);
strTransactionCode = parentIterator.Current.Value;
}
//Get all the childs of ShoppingRules node
XPathNodeIterator children = childNode.SelectChildren(XPathNodeType.Element);
//Traverse on all the child node of the ShoppingRules nodes.
while (children.MoveNext())
{
}
}

31 comments:

Anonymous said...

order alprazolam no prescription what does a 1mg alprazolam look like - xanax pills identifier

Anonymous said...

xanax anxiety shoot up xanax pills - xanax potentiators

Anonymous said...

order tramadol tramadol high many - tramadol with acetaminophen dosage

Anonymous said...

buy tramadol online buy tramadol an 627 - tramadol overdose in cats

Anonymous said...

xanax online fight club quotes xanax - where can i order xanax in u.s.

Anonymous said...

buy tramadol online where to buy tramadol for dogs - tramadol hcl 627

Anonymous said...

generic xanax xanax clearance drug screen - can you buy xanax online no prescription

Anonymous said...

buy tramadol online tramadol addiction nhs - tramadol addiction does

Anonymous said...

generic xanax xanax bars legal - what is xanax used for medically

Anonymous said...

buy tramadol online best way buy tramadol online - tramadol high heart rate

Anonymous said...

buy carisoprodol carisoprodol 350 mg used for - carisoprodol online no prescription

Anonymous said...

xanax online xanax drug test - xanax 5 htp

Anonymous said...

buy cialis online cialis price 5mg - cialis 5 mg best price

Anonymous said...

xanax online buy alprazolam india - xanax information

Anonymous said...

how to buy cialis online cialis ed reviews - buy cialis online fast delivery

Anonymous said...

buy tramadol tramadol hcl 50 mg get you high - order tramadol online reviews

Anonymous said...

http://landvoicelearning.com/#51602 tramadol 100mg online - tramadol overdose toxicology

Anonymous said...

learn how to buy tramdadol buy tramadol online legit - tramadol addiction egypt

Anonymous said...

tramadol online order tramadol 50mg - generic form of tramadol

Anonymous said...

buy tramadol online no prescription tramadol ultram side effects dogs - tramadol hcl 50 mg ingredients

Anonymous said...

learn how to buy tramdadol tramadol hcl 50 mg pill - buy tramadol online from usa

Anonymous said...

http://landvoicelearning.com/#21906 order tramadol free shipping - buy tramadol online legit

Anonymous said...

buy tramadol overnight cod tramadol 50 mg kapsler - tramadol 50 mg tablets

Anonymous said...

buy ativan online ativan and alcohol death - buy generic ativan online no prescription

Anonymous said...

buy ativan online ativan no prescription overnight delivery - lorazepam 1 mg during pregnancy

Anonymous said...

http://ranchodelastortugas.com/#61301 xanax withdrawal gaba - xanax pills look

Anonymous said...

Me and ozzy fucked more challenging, trying
to show to my god! FUCK YES!' ahead of cumming inside my warm pussy. were still fucking

my web page - hcg injections

Anonymous said...

http://staam.org/#74560 tramadol for dogs ok for humans - tramadol withdrawal vomiting

Anonymous said...

http://staam.org/#41652 tramadol for dogs expiration date - buy tramadol with mastercard

Anonymous said...

buy tramadol online tramadol 50 mg for dogs - tramadol ultram tramal

Anonymous said...

alprazolam price xanax overdose happens - can xanax pills expire