 |
|
 |
hello
Thank you (-_-)
you can send me your email address so I can send you what I've done so far and also my class diagram modeling my project.
I would like you to help me because I'm stuck here.
Thank you again
My email address is: samisami987@hotmail.com
|
|
|
|
 |
|
 |
samymazine wrote: you can send me your email address so I can send you what I've done so far and also my class diagram modeling my project.
Sorry no. This article is very very old and uses technologies I no longer use day to day and have no development environment to try/test.
Additionally, this seems to be a request to help with your homework which on principle I don't support.
If you can ask a specific, focused, question. I may be able to guide you.
e.g. since you're looking for specific tags rather than parsing the whole document, investigate XPath and rather than recurse from the root, recurse from the results of that query (or queries).
Regards,
Ray
|
|
|
|
 |
|
 |
I am a student in an engineering school. I have a computer project to do which is to: enhance a mp4 video with annotations that are stored in an xml file (mp7).
by your program displays the entire contents of the XML file, for against me I want him m'affiche information stored in specific tags in the xml file.
The project idea is to design an interface to select two files: a. Mp4 and a. Mp7
It should then parse the mp7 looking for a specific tag, previously defined. Mp7 mp4 files and will be given. the
tag annotations to specify a timestamp and a location in the video data.
Then load the video interface. Mp4 in an area of the window, and below there is space to display text from the file previously parsed mp7 (specifically the file will contain an mp7 URL parser that we should go on Web to retrieve information to display).
at first I just want to display the annotations that I set all in my file before I go looking for the internet
I enjoyed your program and I really hope you to help me make my own I await your response
Thank you in advance
..
i 'm realy need your help Mr Ray Hayes
|
|
|
|
 |
|
 |
Hello
I have done the same project in 2006,I really enjoyed it, can you give me a sample of your project and I will try to resolve your problems.
|
|
|
|
 |
|
 |
This simple code was a life saver.
|
|
|
|
 |
|
 |
Hi Ray hayes,
I really like ur concept. I am looking forward to do this project.I am doing Msc computer science(Part II).Is this project will be
helpful to me to do for this year.can i do this as a project for this year.also how many hours i have to work out daily for this project.how many days i will require to complete this project.what all hardware part i will require.pls tell me.pls rply.
Thanks In Advance
|
|
|
|
 |
|
 |
Hi,
Its a fantastic project for XML parsing. But I have some difficluty regaring it such as
Using this code I Want to connect with SQL database & want to do some basic operations.
Please give me some idea How to do it?
Thanks & Regards,
Rajiv
|
|
|
|
 |
|
 |
No idea, sorry. Never used SQL in C++ and never likely to do so now. I don't even know whether there is a natural link between those two technologies.
Regards,
Ray
|
|
|
|
 |
|
 |
I have made an application. Tht requires msxml6. Now, suppose if client does not have msxml 6 installed then what can be done to install it on client machine ?
Please help.....
Since it searches fior the class id for creating instance of the same.
|
|
|
|
 |
|
 |
1.
It compiles fine on my system (W98, MSVS 6.0, MSXML 3.0 SP 4)
but I get the following linker errors:(the /lib directory IS in the search path)
XmlParserDlg.obj : error LNK2001: unresolved external symbol _IID_IXMLDOMNode
XmlParserDlg.obj : error LNK2001: unresolved external symbol _CLSID_DOMDocument2
XmlParserDlg.obj : error LNK2001: unresolved external symbol _IID_IXMLDOMDocument
Debug/xmlparser.exe : fatal error LNK1120: 3 unresolved externals
2.
Unicode support? I am - obviously - new to XML.
Can somebody help, please?
TIA,
alex
|
|
|
|
 |
|
 |
Hey, Man.
Including msxml2.lib in your project when linking.
and happy coding
--------00ooo00------------
|
|
|
|
 |
|
 |
oops!
I assumed the project file that came with it was OK but the .lib was missing.
Many thanks. It works now.
alex
|
|
|
|
 |
|
|
 |
|
 |
It is called inter-document relationship validation. but I have no idea how to use DOM do this job? I am not sure how XPointer can be used? Or can validation be automatically handled by the XmlValidatingReader.
For instance, I created a SML schema with complex type Customer and Order in Orders.xsd. Table Order is related to Customer as it's child. If I have two xml files, one is Customer.xml, one is Order.xml. How can they be validated against Orders.xsd, it means their relationship has to be validated too. As I digged around, the impression is one xsd only can validate one XML file that contains all the related types, not XML files that has relationship defined in the XML schema.
Thanks a lot...
|
|
|
|
 |
|
 |
Dear Mr.Hayes,
I'm a graduate of Information Management in Taiwan. Now I'm working for a project which topic is about XML files parsing. I have some trouble to complie the program.
Just seems like the following:
error C2061: syntax error : identifier 'IXMLDOMDocument'
error C2061: syntax error : identifier 'IXMLDOMParseError'
I see there are many users asking the question.
But I don't know how to insert the necessary descriptions.
(1)Include the Following Lines in the StdAfx.h File?
#import named_guids
using namespace MSXML;
(2)add the following line
using namespace MSXML;
below the line
#include
I already tried above two ways but still complied error.
I don't know how to configurate step by step.
Please help me.
THX!!
Muyen
|
|
|
|
 |
|
 |
Whilst there have been several questions regarding this, the answer is the same everytime and if you select to see "ALL" messages rather than only the last few months you can see them.
"Out of the box" Microsoft Visual C++ version 6.0 (all service-packs) do not have XML support. You must download either the XML parser or the Platform SDK from Microsoft.
Both of these will include the necessary headings.
Regards,
Ray
|
|
|
|
 |
|
 |
Add the following lines into your header file:
// import the MSXML parser COM
#import "msxml.dll" named_guids raw_interfaces_only
using namespace MSXML;
Then it works!
Turkey
|
|
|
|
 |
|
 |
Dear Mr.Hayes,
I'm a graduate of Bioinformatics in China. Now I'm working for a project which topic is about XML files parsing. What I should do is to thansform a structured file into an XML file and to parse it to visualize its some feature part. But I had never deal with an XML file. That's a new thing for me.
I had find and download your code of "XML Parser Demo"
in http://www.codeproject.com. But I can't debug it in my VC++ 6.0. The error is followed:
F:\Xml\sample\IExmlparser\xmlparser\XmlParserDlg.cpp(92) : error C2065: 'IXMLDOMDocument' : undeclared identifier.
But I really include "msxml.h".What's more, the number of the errors is unchanged when I disinclude the "msxml.h". Please give me your kind option!
I'm an XML beginner! I had never run a project parsing XML successfully. It's too worrying!My operating system is Windows 2000 professional, working studio is VC++6.0. Please tell me how to include the MSXML interface in my project. I'm wandered about the msxml.h(msxml2\3) ,msxml.dll(msxml2\3\4) and msxml.lib. Give me your simple way to use them!Thanks a lot!
Waiting for your request online!
sterding
|
|
|
|
 |
|
 |
add the following line
using namespace MSXML;
below the line
#include
Then it works.
Ligang
|
|
|
|
 |
|
 |
use underside sentence to replace #include "msxml.h"
#import "msxml.dll" named_guids raw_interfaces_only using namespace MSXML;
then you can work it!!
|
|
|
|
 |
|
 |
Ditto, it was the only (excellent and working) example I found on the subject.
Great job.
|
|
|
|
 |
|
 |
keep up the good work. One question:
How do I retrieve values of all elements that have the same tagname?
Hush..Hush.. thought I heard you calling my name now...
|
|
|
|
 |
|
 |
You should use the XPath aware functions. The two functions I use to do this are:
selectNodes
selectSingleNode
The former being able to return multiple matches in a set (XMLDOMNodeList).
XPath is very powerful and would take a lot to explain here, but briefly, if you wanted to find all "Name(s)" that are children of "People" you can search for "*/People/Name". This wouldn't match any "Name(s)" that belong to, for example, a "Building".
If you use the XMLDOMNodeList, you then have iterators through the results to walk all of the matches. "selectSingleNode" claims to only return the first match if multiple possibilities exists, I only call this function myself if I know the Schema enforces this, otherwise I use the "selectNodes" function.
Regards,
Ray
|
|
|
|
 |
|
|
 |
|
 |
almost the year anniversary of your question . . .
ValList = xDB->m_pDomDocument->getElementsByTagName("VAL"); // get all the VAL's into a list
that is path "unaware" - it doesn't matter what the path is. Maybe not good practice, but it works.;P
|
|
|
|
 |
Votes of 3 or less require a comment