Originally posted by: Raj
I am facing problem is using msxml.dll ver 8.0.6611.0.
When I try to load multiple documents ( different xml files simultaneously ) it crashes.
Why is this so?
Is there any solution to above problem?
Plz I need some help urgently.
Thanx in advance
Raj
Originally posted by: Raghu
Hello,
Please let me know how to parse the XML file, if there is reference to DTD. I tried doing it using the same example, but loading the XML is failing. Please reply ASAP.
Thanks and regards,
Raghu
Originally posted by: Tony
<?xml version="1.0"?>
what would be the quickest way of finding a specific error, given an error id?
If I had an xml document like the following:
<errorMessages>
<error id="1">
<message params="1" email="0">Couldn't find: %S</message>
</error>
<error id="2">
<message params="0" email="0">whatever</message>
</error>
</errorMessages>
e.g. Would I have to iterate through all the nodes until I found the error tag with the id I wanted or is there a quicker way?
Is there in fact a better way of creating an xml document for storing error messages?
Originally posted by: R.Nirmala
I am using MSXML4.0, VC++, MFC.
Am using this xml DOM Document as a datastructure and it is very much required for me to have the in-built sorting functionality for this data structure.
Waiting for the replies.
Thanks in advance,
Hello,
I have created a IXMLDOMDocument. On this document, I want to do a Query, say matching an attribute. I pass an XPath expression for the IXMLDOMNode::selectNodes("aaa"). I want to get all these nodes with aaa, but I should get them in some sorted order on an attribute. Say, if the element aaa has an attribute id, then I want to get all the "aaa" nodes with the id sorted in descending order. Apart from using transformnode, is there any way to give this information in the Xpath string that we pass it to selectNodes.
Nirmala
Originally posted by: Rajasekhar reddy P
<?xml version="1.0"?>
Here price tag contains the currency attribute.
Hi
I am having one question.
Just look this xml code
<autos>
<manufacturer name="Chevrolet">
<make name="Corvette">
<model>2000 Convertible</model>
<price currency="usd">60,000</price>
<horsePower>420</horsePower>
<fuelCapacity units="gallons">18.5</fuelCapacity>
</make>
</manufacturer>
<manufacturer name="Mazda">
<make name="RX-7">
<model>test model</model>
<price currency="usd">30,000</price>
<horsePower>350</horsePower>
<fuelCapacity units="gallons">15.5</fuelCapacity>
</make>
</manufacturer>
</autos>
How to read the value for currency attribute
Can any one help me
i used DOM Parser
Thanking you in advance
Originally posted by: Srikanth Talla
This article gives a good start on XML. After playing with
the App, I looked at the compiler generated msxml.tlh file
and discovered how I could get the attributes and also how
to get the parse errors when a .dtd file is specified
in .xml file.
thanks for this good intro.
Originally posted by: taly
Thanks a lot.
I spent hours to try with MSXML4 ...
It seems it is totaly different.
what i wanted to do is just to load a
"XML file"
and to transform it into "HTML" with a
"XSL file".
If you could give a sample it would be great!
Originally posted by: First Song
From Korea
Thank you so much for your valuable job.
My educational background is not engineering.
Although I read much stuff about parsing XML,
Parsing XML is so difficult for me.
I am sure that this artcle is a real eye opener!
Do you plan to write a book about XML parsing for beginners like me?
Thank you again.
Reply
Originally posted by: sunil
This is excellent article for beginners trying to integrate XML in vc++ app.
It help me understand how to traverse through the xml document using XML-DOM COM Objects.
Thanks
Originally posted by: song
How to finish this parsing course using the parser of apache?The example uses the parser of Microsoft.
Reply