• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with xPath

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need in solving related to xPath.

From the main function, passing Node as a parameter.

The node is:
<INPUTS>
<FLD NM="ABC">100000</FLD>
<FLD NM="DEF">0.9</FLD>
<FLD NM="RATE_STATE">CT</FLD>
<FLD NM="RETRIEVALDE">12/1/2004</FLD>
<FLD NM="EXPIRATION_DATE">12/1/2005</FLD>
<!--<FLD NM="ANN_RATE_DATE"/>-->
<FLD NM="REGIONS">1</FLD>
</INPUTS>

Now i have to read the Attribute Value ie., "ABC" etc., and Node Value '10000' and to store in hashtable.

Pls. guide me how to solve this problem, using java and xpath.
Its Urgent Please.
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmmm.....not sure where to start....!
Are you familiar with Java, XML and XPath ?
What parser are you using ?

If you could tell us more about your application....
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic