|
-
July 1st, 2002, 03:28 PM
#1
How to read and write XML file with a lot of data?
Hi, I need to read and write a XML file with the following format:
<DataXML>
<Value ElemNum=¡±n1¡±>
x1 x2 x3 ¡*. xn1
</Value>
<Value ElemNum = ¡°n2¡±>
y1 y2 y3 ¡* yn2
</Value>
</DataXML>
xi and yi are float number, n1 and n2 are very large, can be more than 10000. Can any xml parser do it and how to do it?
Thanks.
-
July 2nd, 2002, 05:13 AM
#2
Hi
xml is just a text. so that values can have any length
Denis.
-
July 2nd, 2002, 06:03 AM
#3
Hi,
The XML DOM parser does it, but as dkar posted it returns only BSTR strings. You'll have to parse that string to separate your values.
The member function would be either get_attributeValue or get_NodeValue or get_nodeName...
check MSDN on MSXML4 for those!
CU
Ingo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|