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

Shared Memory to XML Config File

I'm working on a project to cleanup our current XML handling code. We
basically just dump our shared memory information (a set of C structs that
represent configuration data) to an XML configuration file and vice-versa.
The shared memory is accessed through accessor functions, so I don't have
direct access to the structs. The goal is to create a clean layer between
the shared memory and our XML configuration file. I'm curious if anyone has
done anything like this or has anything to share about doing this in a
clean, extensible way.

I've looked online, but haven't been able to find anything helpful. I've
been reading up on libxml2 (this is the library we use) and in of itself, it
seems to be overly complex for what we need to do. It's probably the right
tool, but I think I would need to create wrappers around it to read/write
xml to make it simpler to update when we add new structures to our shared
memory.

I hope this is the right place to be asking these questions, if not, let me
know where I should be posting. Any help is much appreciated. Thanks.

Jason
Jul 20 '05 #1
1 1666
Jason wrote:
...
I've looked online, but haven't been able to find anything helpful.
I've been reading up on libxml2 (this is the library we use) and in
of itself, it seems to be overly complex for what we need to do.
It's probably the right tool, but I think I would need to create
wrappers around it to read/write xml to make it simpler to update
when we add new structures to our shared memory.


You might want to look at my Mini-XML library:

http://www.easysw.com/~mike/mxml/

It is designed exactly for this sort of thing...

--
__________________________________________________ ____________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet `Printing and Publishing Software http://www.easysw.com
Jul 20 '05 #2

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

Similar topics

0
by: Srijit Kumar Bhadra | last post by:
Hello, Here is some sample code with pywin32 build 203 and ctypes 0.9.6. Best regards, /Srijit File: SharedMemCreate_Mutex_win32all.py # This application should be used with...
5
by: Jim | last post by:
Hello, I have a broken server that we are going to be moving off to a new server with a new version of DB2 but here is what I have right now: RedHat 7.0 (2.2.24smp) DB2 v6.1.0.40 I am...
9
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and...
27
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
33
by: Joe Fallon | last post by:
1. I have a Base class that has a certain amount of functionality. 2. Then I have a CodeSmith generated class that inherits from the Base class and adds functionality. 3. Since I want to be able...
4
by: a | last post by:
Hello Gang, I am in a bit of confusion regarding a half completed application I am writing. It is an MDI app, so I have a main form (frmMain) that is always open. I am looking for a 'Best...
4
by: Thomas F. O'Connell | last post by:
In using pg_dump to dump an existing postgres database, I get the following: pg_dump: WARNING: out of shared memory pg_dump: attempt to lock table <table name> failed: ERROR: out of shared...
30
by: MAG1301 | last post by:
I've detected memory leaks in our huge .NET 1.1 C# application but couldn't localize them directly. So I've reduced the code to the following console application: using System; using System.IO;...
3
by: jdlwright | last post by:
Hi, a customer is using our fairly memory intensive web app. in a shared hosting environment and the other day their host 'banned' (I think they just killed the process) them for memory abuse. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.