Xml parsing


Posted on 16th Feb 2014 07:03 pm by admin

I need a suggestion about parsing xml with multiply parts like pervious...
i.e. different devices has a similar configuration, but how I can discern it by device?
Code: 10.10.10.10111120.20.20.202222
I've got just flat configuration for everyone device with that code, but I'm so wondering how collected cnf's via device_1,2... so on
Code: char *dev={"ip","port"};void **cnf_buf;// mem allocation for cnf_buf//whatever for(field=0;field<2;field++){ if (cur_node->type == XML_ELEMENT_NODE && (xmlStrcmp(cur_node->name, (xmlChar *)dev[field] ))== 0 ){ cnf_buf[field]=cur_node->name; }//whatever }
i.e. I want separate configuration of different devices, need an addition index by , and doubt how parsing it.

No comments posted yet

Your Answer:

Login to answer
263 Like 16 Dislike
Previous forums Next forums
Other forums

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

Solution Manager BPR
Does the SolMan-BPR-ARIS-Integration (http://www.ids-scheer.com/en/ARIS/ARIS_Platform/ARIS_Business_

Login script (probably a simple error)
dbConfig.php
Code: <?
// Replace the variable values below
// with your specific dat

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

Last Weeks sDate and eDate.
sDate - Start Date
eDate - End Date

I need to pull two dates for "Last Week" whi

Can't shake the "Warning: include()" error
I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser

Problems with adding a link to one position in a 'foreach' loop, please help
Hello!

Iam pretty new to programming and I wanna create a table with users from an array. It

Simple program to copy files between two computers over the web
I use logmein free and often need to move files between my two computers. Generally, I move the file

Create multiple (n) arrays
Hi there,

I have the following need:

I have 2 arrays (coming from a databases)

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash