Create XML Reader in C for Sun Machine

  • Thread starter Thread starter db1uover
  • Start date Start date
  • Tags Tags
    Machine Sun xml
Click For Summary
The discussion centers on developing a routine in C to read CSV data, append it to an XML template, and save the result, specifically on a Sun machine. The user is restricted from using C# or C++ and is seeking resources or example code in C, as most available examples are in C# or Java. The team has already created a reader for the XML nodes. It is suggested that for reading the CSV file, functions like fscanf(), getline(), and sscanf() are appropriate methods to utilize, especially if the CSV format is known. The focus remains on finding suitable C resources for XML and CSV handling.
db1uover
Messages
16
Reaction score
0
I have to write a routine that reads in csv data and appends it in an xml template and saves it. I am not allowed to use C# or C++. It must be in C. I am running it on a Sun machine. Our team has come up with the reader for the nodes of the xml. I've checked several websites looking for example code, but everything is in C# or Java. I realize those are more helpful when working with PHP, etc. Is there somewhere I can find a reader for C?
 
Technology news on Phys.org
If you know the format of the CSV file the normal way is to just use fscanf() - or better getline() and sscanf().
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K