all groups > dotnet xml > august 2004 > threads for august 29 - 31, 2004
Filter by week: 1 2 3 4 5
XmlSerializer does not deserialize elements /w specified namespace?
Posted by Lidström at 8/31/2004 11:54:23 AM
Hi,
the class looks like this:
[XmlRootAttribute(Namespace="http://www.landxml.org/schema/LandXML-1.0",IsNullable=false)]
public __gc class LandXML {
public:
...
};
public __gc class Surfaces
{
public:
...
};
and the element like this:
<Surface... more >>
System.Xml.XmlValidatingReader.set_ValidationType raised InvalidOperationException
Posted by jesse.elve NO[at]SPAM t4g.com at 8/31/2004 11:09:21 AM
I am using an XmlValidatingReader which uses an XSD for xml
validation. The code has been performing reliably for months.
Yesterday it failed for the first time with the following exception:
Inner exception of type System.InvalidOperationException has occurred
: The operation is not valid du... more >>
root from Schema
Posted by Petr Votoèek at 8/30/2004 3:15:34 PM
Hi all, does anybody know how to get all possible roots form XML Schema? I
think all elements without parents are possible roots. Is it true??
Thanks, Petr.
... more >>
XML/XSD: Show available attribute values from XSD in Intellisense
Posted by Don at 8/30/2004 2:37:07 PM
Hi:
I want to limit the values that can be entered for particular attributes.
1) I have created an XSD from my XML document.
2) I dropped that XSD file into the following directory C:\Program
Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml
3) When I use VS.NET to cre... more >>
send parameter to XSL
Posted by Eli at 8/30/2004 10:33:05 AM
Hello.
I have an ASPX file. I want to transform my XML stored in file by XSL (from
file too). I successfully use the code below:
<asp:xml runat="server" id="myXMLTag" DocumentSource="myXML.xml"
TransformSource="myXSL.xslt" />
or
<asp:xml runat="server" id="myXMLTag" />
<scri... more >>
Usage of // and $ in <xsl:value-of ...
Posted by Aravind G via .NET 247 at 8/30/2004 6:58:05 AM
(Type your message here)
--------------------------------
From: Aravind G
Hello all,
I have a peculiar situation.
Following is a small xml snippet in use
<ROOTNODE>
<SPSNODE>
<EXTERNALMESSAGE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PHILIPSRI... more >>
XmlSchema classes help needed
Posted by a701440 NO[at]SPAM hotmail.com at 8/30/2004 6:51:42 AM
Hi All,
I am having hard time figuring out how to programmatically construct a
schema with following comple type:
<xs:complexType name="A">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="B" type="B" />
<xs:element minOccurs="1" maxOccurs="1" name="C" type="C" />
<... more >>
Problem defining an XSD to validate for overlapping ranges
Posted by Jim Di Griz at 8/29/2004 12:41:00 PM
Hi
I have a problem to create an XSD that prevents overlapping ranges.
Sample XML:
<root>
<element LowerLimit="1" UpperLimit="50000">
.....
</element>
<element LowerLimit="50001" UpperLimit="250000">
.....
</element>
<element LowerLimit="250001" Up... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
web service / soap header processing in VB.NET
Posted by tonman at 8/29/2004 12:31:01 AM
I'm trying to do some accouting with a .NET web service. I would like to
simply log the request and response times for each web service method
invocation.
The LogRequest function simply INSERTs request data and the LogResponse
UPDATES the request data based on the RequestId value.
The p... more >>
xmlns=''> was not expected.
Posted by Shailendra Batham at 8/29/2004 12:20:54 AM
Hi guys,Does any1 know what this error is all about, what I am trying to =
do is deserialize a XML, below is my code, let me know what I am doing =
wrongpublic class test{xin =3D "<?xml version=3D'1.0' =
encoding=3D'UTF-8'?><InSession><PassWord>foo</PassWord><UserName>foo@foo.=
com</UserName></I... more >>
|