all groups > dotnet xml > june 2007 > threads for june 29 - 30, 2007
Filter by week: 1 2 3 4 5
How do I get the <xsd:documentation>?
Posted by David Thielen at 6/30/2007 4:06:01 PM
Hi;
It looks like this is in Annotations.Items but there can be multiple items -
how do I know which is the <xsd:documentation>?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
Validating an XML file with an external schema
Posted by David Thielen at 6/30/2007 4:00:01 PM
Hi;
If I have an xml file and a schema file and I want to validate that the xml
file matches the schema - is this the best way? (This code works, I just want
to make sure I am doing this the best way.)
XmlReaderSettings settings = new XmlReaderSettings();
settings.ValidationType = Validat... more >>
How do I access a reference in XmlSchema?
Posted by David Thielen at 6/30/2007 3:58:00 PM
I have an xsd:
<xsd:element name="comment" type="xsd:string">
<xsd:annotation>
<xsd:documentation>hi there</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PurchaseOrderType">
<xsd:sequence>
<xsd:element name="shipTo" type="USAddress"/>
<xsd:elem... more >>
Which is the root element
Posted by David Thielen at 6/30/2007 3:56:02 PM
Hi;
I have an xsd that has:
<xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
<xsd:element name="comment" type="xsd:string"/>
I get this as an XmlSchema using:
XmlSchema schema = XmlSchema.Read(new FileStream(datasource.SchemaUrl,
FileMode.Open, FileAccess.Read, FileShare.Rea... more >>
How do I get the XmlSchema from an xml file
Posted by David Thielen at 6/30/2007 3:50:01 PM
Hi;
If an xml file has this at the top:
<?xml version="1.0"?>
<purchaseOrder orderDate="1999-10-20"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="c:/test/po.xsd">
I need to get the XmlSchema for c:/test/po.xsd. I only need it for
noNamespaceSchema... more >>
Access to SOAP Objects
Posted by doug at 6/29/2007 1:22:04 PM
I hadn't had a class yet and I had some MS help on this to set up, but I
wrote a .Net WS that creates a proxy class response using SOAP. Works fine.
And in kind of a good way, the IDE has hidden the SOAP implementation so from
my end I'm just creating, passing back my XML proxy class.
The ... more >>
|