473,398 Members | 2,113 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,398 software developers and data experts.

Load XML from webpage to use with TinyXML

How do i go about loading an xml file from a webpage to be used in
TinyXML?

example: Load from http://www.somepage.com/thexml.xml

Any help would be great, thanks!

Aug 30 '05 #1
1 2280
On 29 Aug 2005 18:48:49 -0700, "Singee15" <Si******@gmail.com> wrote
in comp.lang.c++:
How do i go about loading an xml file from a webpage to be used in
TinyXML?

example: Load from http://www.somepage.com/thexml.xml

Any help would be great, thanks!


You would use some implementation-specific extensions provided by your
compiler and its operating system to open an HTTP connection to the
web site, do an HTTP GET, and receive the results and store them in a
file.

Storing data in a file can be done with standard C++, all the rest
can't, and you need to ask about that in a platform-specific group to
see what extensions your compiler and OS provide.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Aug 31 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rui Maciel | last post by:
Hi there I'm trying to learn how to handle XML information on C++ files. To start off, I'm trying to use the TinyXML library. The thing is, I'm not having muck success using the library and it...
9
by: Andy Sutorius | last post by:
Hi group, I am getting the "could not load type" error and I'm not sure how to debug. Obviously it's a namespace error but I don't see it. Below are code snippets. Yes, the files sit in a...
1
by: Esteban | last post by:
Hi, I would like to know if there's a way to load a webpage, like www.google.ca on a CSharp app then execute a query like a search on the string "csharp" on the google's text area, then execute...
0
Meetee
by: Meetee | last post by:
Hi.. I have created an XML file which contains username and password. I want to parse this XML file so that username and password can be stored in database. I am using TinyXML and want to parse...
0
by: thomas.frendo | last post by:
Hi, I'm trying to store some elements of TinyXml in a 2d std::vector here is my code #include "stdafx.h" #include "tinyxml.h" #include <vector>
7
Meetee
by: Meetee | last post by:
Hi, I want to convert tinyxml document file into string. I have found on google as well as tinyxml document but I haven't solve it. What I have done so far is TiXmlDocument doc("xyz.xml");...
11
by: Tomek Toczyski | last post by:
I have an url of a webpage. I would like to load the content of the webpage to a variable. Sth like this: variable = loadwebpage( url ) How to do it? (I have just spent more than an hour...
9
by: abhishekltil | last post by:
hello, can you please help me in reading this sample xml using tinyxml library. <?xml version="1.0" encoding="ISO-8859-1"?> <Configuration> <Parameter name="loglevel" value="3"/>...
2
by: David Thielen | last post by:
So we have moved our app from .NET version 2.X in IIS6 to a Windows 2008 Server running IIS7. We have copied all files to the Windwardreports\apps directory and that apps directory has been...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.