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:

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

    ReplyDelete
  2. xanax anxiety shoot up xanax pills - xanax potentiators

    ReplyDelete
  3. order tramadol tramadol high many - tramadol with acetaminophen dosage

    ReplyDelete
  4. buy tramadol online buy tramadol an 627 - tramadol overdose in cats

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

    ReplyDelete
  6. buy tramadol online where to buy tramadol for dogs - tramadol hcl 627

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

    ReplyDelete
  8. buy tramadol online tramadol addiction nhs - tramadol addiction does

    ReplyDelete
  9. generic xanax xanax bars legal - what is xanax used for medically

    ReplyDelete
  10. buy tramadol online best way buy tramadol online - tramadol high heart rate

    ReplyDelete
  11. buy carisoprodol carisoprodol 350 mg used for - carisoprodol online no prescription

    ReplyDelete
  12. xanax online xanax drug test - xanax 5 htp

    ReplyDelete
  13. buy cialis online cialis price 5mg - cialis 5 mg best price

    ReplyDelete
  14. xanax online buy alprazolam india - xanax information

    ReplyDelete
  15. how to buy cialis online cialis ed reviews - buy cialis online fast delivery

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

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

    ReplyDelete
  18. learn how to buy tramdadol buy tramadol online legit - tramadol addiction egypt

    ReplyDelete
  19. tramadol online order tramadol 50mg - generic form of tramadol

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

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

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

    ReplyDelete
  23. buy tramadol overnight cod tramadol 50 mg kapsler - tramadol 50 mg tablets

    ReplyDelete
  24. buy ativan online ativan and alcohol death - buy generic ativan online no prescription

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

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

    ReplyDelete
  27. 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

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

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

    ReplyDelete
  30. buy tramadol online tramadol 50 mg for dogs - tramadol ultram tramal

    ReplyDelete
  31. alprazolam price xanax overdose happens - can xanax pills expire

    ReplyDelete