View previous topic :: View next topic |
Author |
Message |
fawad
Joined: 30 Jun 2013 Posts: 1
|
Posted: Sun Jun 30, 2013 7:50 pm Post subject: XML parser |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Jul 04, 2013 9:59 am Post subject: |
|
|
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 |
|
|
pasban Guest
|
Posted: Wed Mar 11, 2015 12:09 pm Post subject: Re: Unable to open database file |
|
|
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
|
Posted: Mon Aug 23, 2021 11:48 am Post subject: |
|
|
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 |
|
|
|