XML error when creating file II

R

ReidarT

The former post was wrong, the lines where concatenated so here it goes
again.

I am wrriting to a file (XML-format) and using

FileOpen(1, "C:\vb\WebBrowser\WebBrowserControl\TESTFILE.XML",
OpenMode.Output)
Write(1, "<?xml version=""1.0""?>")
....

The error occurs when creating the file. I can see that the
""-characters are causing the error, but they need to be there on line
Write...

When I am trying to open the TESTFILE.XML I get the following error:

Ugyldig på toppnivået av dokumentet. Feil under behandling av ressursen
file:///C:/VB/WebBrowser/WebBrowserControl/TESTFILE...

"<?xml version=""1.0""?>","<XMLTest>"
^

regards
reidarT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top