I'm using a 2.0 XmlReaderSettings object with setting.ValidationType set
to ValdationType.Schema to validate a document against a schema.
Following is a schema fragment (names altered):
<xsd:element name="Stuff">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="RequiredSimp...
more >>
I have a doc that that I am entering an incorrect value in a node that
expects an restricted enumeration yet I can't get the ValidationEventHandler
to fire. Shouldn't it fire if it finds an enumeration that's not listed in
the schema? I've also misspelled node tags and it still won't fire. Am ...
more >>
Hi,
I wonder if there is a way to read only the first x bytes of a xml
responsetext. In my project I need only first 20-30 bytes of very large
HTML files and i don't want to wait for the rest to be read. Here is a
piece of code i use ;
Dim xml As New MSXML2.XMLHTTP
xml.Open...
more >>
Hi all
I need a little help with XSD, here is my XML
<data>
<brandData>
<brandGroups>
<brandGroup>
<name>Group1</name>
</brandGroup>
<brandGroup>
<name>Group2</name>
</brandGroup>
<...
more >>
Hey All,
I am having issue with serializing a class and its base class using
..net 2.0. I am using IXmlSerializable
I've provided code displaying my at the bottom of this post. Thanks
ahead of time for any help or feedback.
Cheers,
Peter
www.nofelt.com
Situation
===========
I am us...
more >>
Guru's!
Your time and guidance is much appreciated in this task that i am trying to
get done.
Background
I have a SQL Server 2000 database table which contains 2 Fields (RecordID,
XMLData (datatype=TEXT). There are about 10,000 records in this table. The
Data in the field (XMLData) is a ...
more >>
I am attempt to perform something that I thought should be quite simple...
I want to take the VoiceXML 2.0 or VoiceXML 2.1 XSD definitions and create
classes.
It appears that a number of items are not included in the definitions of
either version of VoiceXML and I find this unlikely.
For Vo...
more >>
Hi,
I'm having problem saving the data in Datagrid back to my XML file.
Below is the code:
dsConfig.ReadXml("./Settings.xml");
XML File:
<Import>
<POSTerminals>
<POS>
<StoreNo>S0001</StoreNo>
<TerminalNo>T01</TerminalNo>
</POS>
...
more >>
I am trying to parse this XML fragment:
<xsl:apply-templates
select="_APPLICATION/MORTGAGE_TERMS"
mode="attrSpec">
<xsl:with-param
name="elem"
select="'LENDERLOANNUM'">
</xsl:with-param>
<xsl:with-param
name="attr"
select="'LenderLo...
more >>
I can get an app to work with XmlValidatingReader but of course that is
"obsolete".
I'd prefer not to use an obsolete class if possible.
However, when I instead used XmlReader as suggested, my program hangs at the
line.
myXmlReader.Settings.ValidationType = ValidationType.Schema;
I do...
more >>