954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

parsing a string (xml) in C

I have xml strings in a memory in C program. I need to extract the reponse tag. Any known xml parser or string extractor code out there that works?

molayos
Newbie Poster
7 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 
Dave Sinkula
long time no c
Team Colleague
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
 

What about parsing a string in "C". So I will have to get the postions of start and end tag and then extarct the strings within the tags.

Any code already written this in C?

Is there a better way of doing this than what I was thinking above?

molayos
Newbie Poster
7 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

That link appears to have all what you could possibly need, for a xml parser in C. Why don't you read the documentation.

If that doesn't interest you, why not write your own?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You