473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Access XML documents in C++

this is the XML document i have:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<ConfigParams>
<Param Name="1">1857</Param>
<Param Name="2">10.31.225.163</Param>
<Param Name="3">5</Param>
<Param Name="4">10.31.225.163</Param>
<Param Name="5">C:\</Param>
</ConfigParams>

<Requests>
<Request>
<RequestID>100</RequestID>
<Host>host1</Host>
<Parameters>
<Param Name="RequestNumber">1</Param>
<Param Name="TimeOut">120</Param>
</Parameters>
</Request>

<Request>
<RequestID>101</RequestID>
<Host>host2</Host>
<Parameters>
<Param Name="RequestNumber">2</Param>
<Param Name="TimeOut">120</Param>
</Parameters>
</Request>
</Requests>
</Root>


Can you give me an idea of how to write a C++ code to access thing.
(like we use JAXB in java)
Apr 9 '12 #1
1 1435
johny10151981
1,059 1GB
here is a simple idea of parsing xml document.

when you get a tag push it in to stack, when you get a enclosing tag pop it from stack.

rest is up to you.
Apr 11 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Stein Gran | last post by:
Hallo, I am trying to create a C# service which connects to the SAP DMS system using SAP .NET Connector. The service shall get a list of all documents in a DMS system, and extract all documents...
3
by: Phil Rutter | last post by:
Hello All, I have about 700 word documents that have 2 tables one is static 4 colums x 5 rows the other is 5 colums x rows ranging from 2 to 100 what i wolud like to do is open the word doc....
6
by: Bob Alston | last post by:
I am looking for others who have built systems to scan documents, index them and then make them accessible from an Access database. My environment is a nonprofit with about 20-25 case workers who...
2
by: bstauffer | last post by:
Thanks in advance to anyone who has any ideas on this. I have an ASP.Net 2.0 website set up on a working production web server. The purpose of the site is to provide access to various documents...
5
by: Mel | last post by:
I need to access an element of my top window from inside an IFrame within that window. I tried: parent.MYFRAME.document.getElementById("LHS"); and i get a "Access Denied" is there a way to...
0
by: ranjanmondal | last post by:
I can access ( read/put ) value into the textbox of an html through webbrowser control in vb ( using document.getElementById("elementName"). But some time I notice that the element(textbox) in...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
0
by: Lysander | last post by:
Thought I would give something back with a few articles. This article is a bit of code to add error handling. When I have time, I want to write articles on multilingual databases, and Access...
46
by: RAZZ | last post by:
Hello, Can anyone suggest me solution? I Need to manage different types of documents (doc,xls,ppt etc) in server. I have folder structure to maintain these documents in server. Say folder1 is...
0
by: =?Utf-8?B?TGF1cmE=?= | last post by:
Recently I have been unable to convert any word or excel or access documents into a pdf file. I have a Vista operating system, XP office and Adobe Acrobat 8. I recently had to do a update for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.