Click here to Skip to main content
15,908,444 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Using MSXML from C++ Pin
me12-Jan-03 12:36
me12-Jan-03 12:36 
GeneralRe: Using MSXML from C++ Pin
Michael A. Barnhart12-Jan-03 13:40
Michael A. Barnhart12-Jan-03 13:40 
GeneralRe: Using MSXML from C++ Pin
me12-Jan-03 13:59
me12-Jan-03 13:59 
GeneralRe: Using MSXML from C++ Pin
Michael A. Barnhart12-Jan-03 14:24
Michael A. Barnhart12-Jan-03 14:24 
GeneralRe: Using MSXML from C++ Pin
Retsof Nawor12-Jan-03 17:58
Retsof Nawor12-Jan-03 17:58 
GeneralRe: Using MSXML from C++ Pin
me12-Jan-03 18:50
me12-Jan-03 18:50 
GeneralRe: Using MSXML from C++ Pin
Michael A. Barnhart13-Jan-03 13:03
Michael A. Barnhart13-Jan-03 13:03 
GeneralHuman readable XML Pin
michaKFromParis7-Jan-03 6:42
michaKFromParis7-Jan-03 6:42 
I use the MSXML IXMLDOMDocument to load and save settings of a Visual C++ Project. My code looks like this:
<br />
//create an instance of the parser<br />
hr = Document.CoCreateInstance(__uuidof(DOMDocument));<br />
if (FAILED(hr) || (Document.p == NULL)) throw (IDS_XML_CANT_CREATE_XML_PARSER);<br />
<br />
// load the xml document file<br />
VARIANT_BOOL Success = false;<br />
hr = Document->load(CComVariant(m_szFilename), &Success);<br />
if (FAILED(hr) || !Success) throw (IDS_XML_SETTINGS_CANT_LOAD_SETTINGS);<br />

Everything works fine and is square with the MSDN recommandations. But I still have a tiny problem: I decided to use XML in order to allow my users to manually edit the conf file but right now, the parser writes everything on a single row, making it hard to read. Eek! | :eek:
It is important to tell the parser to write tabs, spaces and linefeeds ...
but how ??? Confused | :confused:
GeneralRe: Human readable XML Pin
Michael A. Barnhart11-Jan-03 12:14
Michael A. Barnhart11-Jan-03 12:14 
GeneralPlease Help: I cannot figure this out Pin
lnong23-Dec-02 1:59
lnong23-Dec-02 1:59 
GeneralSaving HTML Form Data to XML....... Need Help...... Pin
zhixiong19-Dec-02 19:12
zhixiong19-Dec-02 19:12 
GeneralRe: Saving HTML Form Data to XML....... Need Help...... Pin
Victor Boctor22-Dec-02 13:06
Victor Boctor22-Dec-02 13:06 
GeneralMSXML 4.0 deployment Pin
act_x19-Dec-02 9:13
act_x19-Dec-02 9:13 
GeneralRe: MSXML 4.0 deployment Pin
Richard Deeming20-Dec-02 0:34
mveRichard Deeming20-Dec-02 0:34 
GeneralRe: MSXML 4.0 deployment Pin
Michael A. Barnhart20-Dec-02 1:11
Michael A. Barnhart20-Dec-02 1:11 
GeneralRe: MSXML 4.0 deployment Pin
act_x20-Dec-02 4:36
act_x20-Dec-02 4:36 
GeneralRe: MSXML 4.0 deployment Pin
Michael A. Barnhart20-Dec-02 5:14
Michael A. Barnhart20-Dec-02 5:14 
GeneralDTD Repository Pin
Victor Boctor18-Dec-02 17:04
Victor Boctor18-Dec-02 17:04 
GeneralRe: DTD Repository Pin
Christian Graus18-Dec-02 17:24
protectorChristian Graus18-Dec-02 17:24 
GeneralRe: DTD Repository Pin
Victor Boctor18-Dec-02 18:44
Victor Boctor18-Dec-02 18:44 
GeneralRe: DTD Repository Pin
Christian Graus18-Dec-02 19:20
protectorChristian Graus18-Dec-02 19:20 
GeneralRe: DTD Repository Pin
Victor Boctor18-Dec-02 21:54
Victor Boctor18-Dec-02 21:54 
GeneralRe: DTD Repository Pin
Christian Graus18-Dec-02 21:56
protectorChristian Graus18-Dec-02 21:56 
GeneralRe: DTD Repository Pin
Michael A. Barnhart19-Dec-02 13:17
Michael A. Barnhart19-Dec-02 13:17 
GeneralRe: DTD Repository Pin
Christian Graus19-Dec-02 13:44
protectorChristian Graus19-Dec-02 13:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.