Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: XML VB.NET
Hi
 
I've been trying to understand how to create a specific XML file for a project I'm working on. Have searched hi and low on the internet, but can't find how I create the XML file style I need.
 
I am trying to create a file that is in a specific format so that it is recognised by a 3rd parties program as its configuration file.
 
I believe I have an understanding on how to create the XML file, but it is using the following format after the version & encoding line
 
<server:project xmins:server="schema1 web address" xmlns:xmins="#unknown" xmlns:server="#unknown">
  <server:title />
  <server:comments />
 
and so on
 
Anyway I'm having a problem with the server: bit of the above xml
I guess its the name of the schema, but how do I get vb.net to use it and set it into the XML file it creates.
 
It is also changing the Schema? later on in the xml as follows
 
<server:customdeviceproperties xmins:net="schema2 web address">
 
I do actually have the schemas on my laptop I have just realised, but I don't know how get vb.net to use them. Schema1 has a reference to 'project' in it so I guess thats relevant to the first line. All the examples I have seen referrs to schemas as a web address, these are on my harddisk, do I just specify "C:\etc"
 
Cheers
Rod
Posted 12-May-11 6:46am
Edited 12-May-11 8:14am
(no name)539.7K
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 329
1 Maciej Los 290
2 Sergey Alexandrovich Kryukov 230
3 Shweta N Mishra 185
4 PIEBALDconsult 149
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 12 May 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100