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: 1391

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.
http://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
johnpavvo



Joined: 25 Jul 2017
Posts: 1
Location: USA

PostPosted: Fri Jul 28, 2017 5:19 am    Post subject: Reply with quote

miniupnp wrote:
well the minixml API permits to do that.
You have to process things on </item>


thanks MINIUPNP.


-------------------
a research based studies about Pregnany.its all about Early Signs of pregnancy and other tips for new mothers.We Working Health,Fitness Related Research Work
Back to top
View user's profile Send private message
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.