|
-
Mar 17th, 2005, 10:47 AM
#1
Thread Starter
New Member
Edit an xml document
I am on my third week of learning VB and have no clue how to start my next task. I need to edit an xml file, by inserting a line of text (in a certain format) on a line above the first occurence of "</Attribute>". The position of this line will change everytime time the document is edited (gets longer). The text that is to be inserted is a user defined code that will come form a text box, that will have to be inserted in this format "<Attribute value="CATFIF"/>", where CATFIF is the user define code.
Anybody have an idea on where to start and what commands i should be using.
-
Mar 17th, 2005, 11:41 AM
#2
Re: Edit an xml document
Welcome to VBF!
In order to effectively read/write/modify and XML document you'll need to download MSXML4 from Microsoft (or you may already have MSXML2 or 3 on your PC). Once having done that you can search these forums for examples and we can also help you with specific questions. There is also XML help on the web.
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
|