473,471 Members | 2,040 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Read an XML file into memory

mickey0
142 New Member
Hello,
new to C#, I wonder which are the possibilities to read from file a xml into the memory (I mean like dom in Java, it reads the entire xml tree onto the memory).
Furthermore: are there anything like sax in C#?
thanks
Jan 14 '10 #1

✓ answered by Frinavale

This article about XML in .NET is very detailed and explains things way better than we could.

All the information you need on using XML in .NET and any other .NET controls can be found in the MSDN Library. This resource should get you pointed in the right direction....there are multiple articles on the controls like the XMLReader there that are very helpful and detailed. I recommend bookmarking the MSDN Library and using it as your primary resource when developing in .NET.

-Frinny

2 4233
Dheeraj Joshi
1,123 Recognized Expert Top Contributor
Hi, Following links may help you... And many articles there in the internet. Google it.

XML in C#
XML in C#

Regards
Dheeraj Joshi
Jan 15 '10 #2
Frinavale
9,735 Recognized Expert Moderator Expert
This article about XML in .NET is very detailed and explains things way better than we could.

All the information you need on using XML in .NET and any other .NET controls can be found in the MSDN Library. This resource should get you pointed in the right direction....there are multiple articles on the controls like the XMLReader there that are very helpful and detailed. I recommend bookmarking the MSDN Library and using it as your primary resource when developing in .NET.

-Frinny
Jan 15 '10 #3

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

Similar topics

11
by: Sebastian Krause | last post by:
Hello, I tried to read in some large ascii files (200MB-2GB) in Python using scipy.io.read_array, but it did not work as I expected. The whole idea was to find a fast Python routine to read in...
16
by: ben beroukhim | last post by:
I have huge number of legacy code which use standard files functions. I would like to pass a memory pointer rather than a FILE pointer. I am trying to use FILEs in the code to refer to memory...
5
by: Pete | last post by:
I having a problem reading all characters from a file. What I'm trying to do is open a file with "for now" a 32bit hex value 0x8FB4902F which I want to && with a mask 0xFF000000 then >> right...
6
by: comp.lang.php | last post by:
if (!function_exists('bigfile')) { /** * Works like file() in PHP except that it will work more efficiently with very large files * * @access public * @param mixed $fullFilePath * @return...
0
by: brendon | last post by:
I need to read in a jpeg or bmp file in to memory and then save these files in to a resource file for distribution in a form other than jpeg or bmp. This requires only one file to be distributed, the...
3
by: KWienhold | last post by:
I'm currently writing an application (using Visual Studio 2003 SP1 and C#) that stores files and additional information in a single compound file using IStorage/IStream. Since files in a compound...
14
by: chance | last post by:
Hello, I have a file on disk called TEMP.ZIP and I would like to somehow get this into a memory stream so I can eventually do this: row = dataStream.ToArray() However, I am not sure of the...
4
by: Pacino | last post by:
Hi, everyone, I am wondering whether it's possible to read part (e.g. 1000*1000) of a huge jpeg file (e.g. 30000*30000) and save it to another jpeg file by pure python. I failed to read the...
70
by: quickcur | last post by:
hi can anyone explain me to read image to memory from a url it is very easy in java but it is hard to find an complete solution in c/c++. Thanks,
6
mickey0
by: mickey0 | last post by:
Hello, I'm trying to read a text fiel under Windows: long size; ifstream file (name, ios::ate); //open and goes at the end size = file.tellg(); //it takes 181 _buffer = new char ; ...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.