Big Fish Interview Question
- 0of 0 votes
AnswersGiven the following xml file, and input containing the root node as well as the attribute name,
- sg August 11, 2015 in United States
return an IEnumerable<string> of the values. The candidates should use xpath to solve the problem
ex input: xmlNode = employees, attrName = “name”
ex output: Yuri, Alex as an IEnumerable of strings
*/
<root>
<employees>
<employee>
<id>1</id>
<name>Yuri</name>
</employee>
<employee>
<id>2</id>
<name>Alex</name>
</employee>
</employees>
</root>| Report Duplicate | Flag | PURGE
Big Fish
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.