Linked Questions

298 votes
8 answers
499k views

I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML according to my requirement. here is what I want to do: Get XML file from online via ...
Adil Bhatty's user avatar
  • 17.4k
4 votes
3 answers
17k views

I've found a similar question on SO, however, that seems not exactly what I wanna achieve: Say, this is a sample XML file: <root> <item> <id isInStock="true">...
Michael Mao's user avatar
  • 10.3k
0 votes
2 answers
3k views

I have a xml document like this <?xml version="1.0"?> <Employees> <Employee emplid="1111" type="admin"> <firstname>John</firstname> <lastname>...
Sundar G's user avatar
  • 1,066
0 votes
2 answers
1k views

I have an XML file with multiple Shape elements each with a child Material element that contains a Code attribute. I want to update the Code attribute for each Material element based on a value that ...
paularmy42's user avatar
1 vote
1 answer
260 views

I need to find value for a child attribute by giving values for one attibute at the same level and its parent at highere level. Another requirement is find value for a child attribute for which ...
Kuruvi's user avatar
  • 45
1 vote
1 answer
468 views

I have to parse this XML https://i.sstatic.net/YrIzS.jpg to extract the highlighted string under the "DetailPageURL" tag. I did a try but have quite confused ideas. I'm working on Android SDK import ...
Alessandro's user avatar
-3 votes
4 answers
148 views

I have an XML, for example <root> <config x="xxx" y="yyyy" z="zzz" /> <properties>blah blah blah </properties> <example> <name>...</name> <...
dummy's user avatar
  • 63
0 votes
1 answer
163 views

<tr valign="middle"> <td class="marginTd" width="25" align="right"> <a class="actionbtn" onclick="addFavourite();" href="#" data-hasqtip="1" oldtitle="Add Record to Favourites" ...
sssheng's user avatar
  • 57
1 vote
2 answers
155 views

I am trying to parse a few specific parts of an xml doc. I am looking at pulling the data out of the analysis section, I need the warnings, errors, passes and I need to go into each of the sections () ...
user1857654's user avatar
1 vote
1 answer
181 views

I need to parse a xml content and need to find a inner tags inside the <p><span>test</span></p> <p><span>test12</span></p> <p>Some text<p>...
Naveenkumar Chinnakalappa's user avatar
0 votes
1 answer
161 views

My XML will look like: < Header> < Feature web="true" mob="false" app="true">some data< /feature> < /Header> I want java file with the data of web, mob, app in boolean and ...
PDJ's user avatar
  • 79
0 votes
1 answer
44 views

I've been looking for the past few hours, and I can't find how to do it. My XML file: <list> <Company id="01"> <Name>Atari</Name> <Founded>1972</Founded&...
Charles Sloat's user avatar