Recent

Author Topic: xpath help need  (Read 4928 times)

zsver

  • Newbie
  • Posts: 6
xpath help need
« on: March 04, 2008, 07:53:30 pm »
Hello,

I fairly new in Free Pascal and Lazarus. After some hours of googling I was not able to find any example or tutorial of processing an XML file using XPATH.
for example:
<Items>
   <Item>
   <PartName>test1</PartName>
   <Stage>19</Stage>
   <GroupKey>0</GroupKey>
   <Pos>26</Pos>
   </Item>
   <Item>
   <PartName>test1</PartName>
   <Stage>19</Stage>
   <GroupKey>0</GroupKey>
   <Pos>26</Pos>
   </Item>
</Items>

this file is around 2000 lines long. I should take out all partname value.
Could somebody help me with some guidance how to do it?

Thanks

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
RE: xpath help need
« Reply #1 on: March 05, 2008, 04:45:35 am »

 

TinyPortal © 2005-2018