herculesgomez
New member
- Joined
- Sep 19, 2006
- Messages
- 1
- Programming Experience
- Beginner
Can someone please explain to me how to create the below XML file. I want to create an error log
which will capture the data in XML. I want to used a non cached approach and be able to
append to the file if the correct elements and nodes already exist.
Each error will have an error type and an error date.
Ive created a blank XML file within my visual studio project called ErrorLog.xml.
I've been looking all over the web for some good
examples of writing data to an XML document but am unable to find any good ones.
Below is an example of how the layout I would like.
----------------------------------------
----------------------------------------
Regards,
Herc
which will capture the data in XML. I want to used a non cached approach and be able to
append to the file if the correct elements and nodes already exist.
Each error will have an error type and an error date.
Ive created a blank XML file within my visual studio project called ErrorLog.xml.
I've been looking all over the web for some good
examples of writing data to an XML document but am unable to find any good ones.
Below is an example of how the layout I would like.
----------------------------------------
HTML:
<?xml version="1.0"?>
<errorlog>
<error>
<errortype></errortype>
<datetime></datetime>
</error>
</errorlog>
----------------------------------------
Regards,
Herc
Last edited by a moderator: