Skip to content

hexadeximal/xml_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xml_parser

parse an xml file using xpath and store results in an array. example using the following xml

<?xml version="1.0" encoding="UTF-8" ?>
<test_parent>
	<child id='1'>
		<cvalue>cvalue 1</cvalue>
	</child>
	<child id='2'>
		<cvalue>cvalue 2</cvalue>
	</child>
	<child id='3'>
		<cvalue>cvalue 3</cvalue>
	</child>
</test_parent>

to get all cvalues and store them in result:

eval_xpath_expr(xml_doc, "//child/cvalue", &result, &count);

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published