473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Help.....XMLDataDocument Schema

I am trying to use xmldatadocument to load an xml file.The xml has the data
as attributes, the datadocument is able to successfully parse the document
into the tables and shows the right column count but does not add any rows. I
tried validating the schema everything is fine but no data is returned . I
have attached the sample xml file and schema. Any help is appreciated .
Thanks!

<SiebelMessage CallingApp="COM" ErrorMsg="" ErrorCode=""
ServiceType="Business Service" ServiceCall="GetASEnrollments" BusSrvName="HSN
Autoship Customization BS" BypassErrBusSrv="Y" CustomerNum="100546344"
ClicOwnedFlg="Y" />
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--W3C Schema generated by XMLSpy v2005 U (http://www.xmlspy.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:element name="SiebelMessage">
<xs:complexType>
<xs:attribute name="CallingApp" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="ErrorMsg" type="xs:string" use="required"/>
<xs:attribute name="ErrorCode" type="xs:string" use="required"/>
<xs:attribute name="ServiceType" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="ServiceCall" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="BusSrvName" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="BypassErrBusSrv" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="CustomerNum" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="ClicOwnedFlg" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">

</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
Nov 12 '05 #1
0 1361

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brian | last post by:
Every time add data and save an xml document using XmlDataDocument.Save I get another root node added to the xml file. Am I doing something wrong or is this supposed to happen? Sample Code: ...
1
by: Mark Bosley | last post by:
I have a multiple table dataset that I am attempting access thru XmlDataDocument, and I have read a bit about this (like Rocky Lhotka's article), but I am attempting something outside of the samples...
2
by: Vish | last post by:
Hi, I have a set of nested object classes that now i have to serialize/deserialize to make webservice calls. I was thinking wouldn't it be better to use an XML Data document instead of using...
1
by: Dave | last post by:
Hi I have decided to use the method explained in the first example here http://msdn.microsoft.com/library/default.asp? url=/library/en- us/cpguide/html/cpconsynchronizingdatasetwithxmldatadocume...
3
by: Mae | last post by:
Dear All, I have a problem here, I'm using C# Webform calling a webservices. The webservices return me a XMLnode, using this XMLnode I want to convert it to dataset so I can bind to the...
0
by: DC Gringo | last post by:
If I create a new xmlDoc from a DataSet (derived from SQL data) such as: Dim myDataSet As DataSet = New DataSet ' code here to populate the DataSet with schema and data. Dim xmlDoc As...
4
by: Adrian Meyer | last post by:
Hi, On the server I code the following web service: ))] public XmlDataDocument GetTypedXmlDataDocument() { sqlDataAdapter1.Fill(typedDataSet1); XmlDataDocument dataDoc
0
by: Zimri | last post by:
All, I am trying to read an XML of a set of records (an "order") from one machine and then turn it into a set of records on another machine. But some of the order's dependent records are...
2
by: ERingmae | last post by:
Hi, The environment is .NET 2.0, the language is C# and the problem is reading XSD file with xs:redefine section correctly to a XMLDataDocument.DataSet. What I am trying to do: I am trying...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.