JaedenRuiner
Well-known member
- Joined
- Aug 13, 2007
- Messages
- 340
- Programming Experience
- 10+
Well,
on the W3C site pertaining to XML, there is this statement:
Now, when I set the NamespaceURI of the XmlDocument.DocumentElement (you know the root) it is listed like this:
I'm curious about two things:
Not that I'm asking you all to tell me what I'm to write next *chuckle*, but more that I'm not exactly sure how the Schema and Document interconnect. Is the schema only there for the Validate() method, or is there something else I can do with it? I'm hoping to use the Schema to create a XmlDataDocument what would allow for DataSet access and control binding ability, but i'm still a trifle lost in the middle there. W3c has awesome syntax guides for the languages, but I've yet to find one that parallels it for simplicity and straightforwardness with any other language, so I still need a little help in the VB side of the Xml object library.
Thanks
on the W3C site pertaining to XML, there is this statement:
VB.NET:
<shiporder orderid="889923"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="shiporder.xsd">
Now, when I set the NamespaceURI of the XmlDocument.DocumentElement (you know the root) it is listed like this:
VB.NET:
<?xml version="1.0" encoding="Windows-1252"?>
<preferences app="RexamShip" version="1.1" xmlns="http://www.w3.org/2001/XMLSchema-instance" />
I'm curious about two things:
- What is that :xsi stuff that the W3C put in their declaration?
- I've got the XmlDocument, and a compiled Schema in the "XmlDocument.Schemas() XmlSchemaSet. Now what?
Not that I'm asking you all to tell me what I'm to write next *chuckle*, but more that I'm not exactly sure how the Schema and Document interconnect. Is the schema only there for the Validate() method, or is there something else I can do with it? I'm hoping to use the Schema to create a XmlDataDocument what would allow for DataSet access and control binding ability, but i'm still a trifle lost in the middle there. W3c has awesome syntax guides for the languages, but I've yet to find one that parallels it for simplicity and straightforwardness with any other language, so I still need a little help in the VB side of the Xml object library.
Thanks