miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML parser

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs
View previous topic :: View next topic  
Author Message
fawad



Joined: 30 Jun 2013
Posts: 1

PostPosted: Sun Jun 30, 2013 7:50 pm    Post subject: XML parser Reply with quote

Hi,

If the XML is nested as follows:
<list>
<item>
<name>val1</name>
<id>id1</id>
</item>
<item>
<name>val2</name>
<id>id2</id>
</item>
</list>

I can modify the function GetValueFromNameValueList() in upnpparsereply.c so it can grab every name and id but how do I make sure that they both correspond to each other.

Thanks
Fawad
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Jul 04, 2013 9:59 am    Post subject: Reply with quote

well the minixml API permits to do that.
You have to process things on </item>
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
pasban
Guest





PostPosted: Wed Mar 11, 2015 12:09 pm    Post subject: Re: Unable to open database file Reply with quote

This kind of problem is not addressed by UPnP.
Standard states that connection from the outside world (internet/WAN) is redirected to the specified internal host:port (LAN)
But there is nothing about what should happen to connection coming to the inside of the LAN.
Back to top
thizwoho
Guest





PostPosted: Mon Aug 23, 2021 11:48 am    Post subject: Reply with quote

Hi Experts,

I am kind of researching for an easy xml library for parsing xml request, could you please suggest options

Thanks,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.