Help reading XML using .NET

At the bottom of this post is some XML that's part of a larger XML file.  It's MobiXml.     I need to extract data from the text elements.   I know I can loop through all the elements, but I was hoping there was something built into .NET that would do a Find/Search for me.  For example, I want to find the "DHS CASE NO.:" text.  

 Thanks in advance.



-<pdf2xml pages="14">

<title/>


-<page height="792" width="612">


-<font src="pdf_font1.ttf" face="SNVWDV+Helvetica-Bold" size="12">

<text height="13.406" width="145.344" y="49.463" x="39.075">CUA IN-HOME SERVICES</text>

<text height="13.406" width="65.326" y="62.963" x="79.085">REFERRAL</text>

</font>


-<font src="pdf_font1.ttf" face="SNVWDV+Helvetica-Bold" size="8">

<text height="9.217" width="62.337" y="46.969" x="207">DHS CASE NO.:</text>

</font>


-<font src="pdf_font2.ttf" face="DCOOGC+Helvetica" size="8">

<text height="9.217" width="27.523" y="46.969" x="285.75">639874</text>

</font>


-<font src="pdf_font1.ttf" face="SNVWDV+Helvetica-Bold" size="12">

<text height="13.406" width="175.33" y="49.463" x="398.707">PHILADELPHIA DEPARTMENT</text>

<text height="13.406" width="128.676" y="62.963" x="422.035">OF HUMAN SERVICES</text>

<text height="13.406" width="136.658" y="76.463" x="418.045">CHILDREN AND YOUTH</text>

</font>


-<font src="pdf_font1.ttf" face="SNVWDV+Helvetica-Bold" size="8">

<text height="9.217" width="52.247" y="62.719" x="207">CASE NAME:</text>

</font>


-<font src="pdf_font2.ttf" face="DCOOGC+Helvetica" size="8">

<text height="9.217" width="40.334" y="62.719" x="285.75">ANTHONY</text>
LVL 1
HLRosenbergerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fernando SotoRetiredCommented:
Hi  HLRosenberger;

You can use Linq to XML to query an XML document and return the information you need. XML is  very dependent on the schema of the document. So in order to answer your question with a better solution you will need to supply a well formed XML document and what you need returned.

When posting code to the web site please use the Code button in the tool bar making sure that the tags surround the code
 Your code goes here 

Open in new window

Voila_Capture-2015-08-31_04-25-37_PM.png The end result will look like this. Final results
0
brgdotnetcontractorCommented:
You also might want to look into using XSL. It can query large XML files, fast. Just a thought.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HLRosenbergerAuthor Commented:
thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.