ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I had converted CSV to XML using a c++ program and in windows this xml is used to convert to c++ header file using msxsl.exe but this does not work in Linux.
Now, I have compiled the CSV2xml c++ program in Linux and am able to create XML file but now I want to convert this xml to c++ header file.
Here is some of my xml file content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Text>The page range selected for the %s report falls outside\nthe page range selected for the compared report.</Text>
<Internal_ID___enumeration >IDS_PAGE_RANGE_SELECTED_FALLS_OUTSIDE_PAGE_RANGE_SELECTED_FOR_COMPARED_REPORT</Internal_ID___enumeration >
<File><path of file>\filename.cpp</File>
Let me say this as politely as I can ... and please understand that I donot mean to insult you in any way.
The tool you have (an XSLT processor) is the tool that you want to use ... but you don't know it yet. You don't know how to use it yet. Therefore, start by learning. Rome wasn't built in a day. At this point, you are quite ignorant of the subject, and it plainly shows. So, that becomes the first obstacle to be addressed in getting this particular problem solved: learn how.
Surf for "XSLT." Gawk at the Periodic Table of the Elements that was created entirely using XSLT, then browse its source-code on your browser. (Your browser does the work!)
Thanks for the suggestion and appreciate for helping me to move forward step by step but as am stuck in middle of some official work and thus am in process to find out on converting xml to c++ header file directly.
I will definitely start learning by the way you have mentioned but after this work is completed.