Click here to Skip to main content
15,881,089 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 20:38
Member 888314725-Apr-12 20:38 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 20:52
Member 888314725-Apr-12 20:52 
GeneralRe: Javascript problem in ASP.NET Page Pin
Ali Al Omairi(Abu AlHassan)25-Apr-12 20:19
professionalAli Al Omairi(Abu AlHassan)25-Apr-12 20:19 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 21:13
Member 888314725-Apr-12 21:13 
AnswerRe: Javascript problem in ASP.NET Page Pin
Not Active25-Apr-12 7:32
mentorNot Active25-Apr-12 7:32 
QuestionHOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
Olanrewaju Matthew25-Apr-12 2:18
professionalOlanrewaju Matthew25-Apr-12 2:18 
AnswerRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
Not Active25-Apr-12 4:04
mentorNot Active25-Apr-12 4:04 
AnswerRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
jkirkerx25-Apr-12 7:23
professionaljkirkerx25-Apr-12 7:23 
Is your code sample suppose to be a XSD Template?, because it's not really a true xml document, and is not finished or complete as an XSD File. Your question is very vague to me, and I'm not sure why you included the code sample. But I can tell you that it would be cruel punishment to have to code to that.

Olanrewaju Matthew wrote:
Please have tried to use XSD with XML but i didn't get it right maybe am not doing the right thing


This is a valid XSD file, which is a contact log. It has 5 string record fields, and is capable of generating an unlimited amount of records called ContactLog_Record.

You have to either create them from hand, or use a program that can model and test the results for you. The other valid ways to create an XSD file is to use the little program that comes in Visual Studio called xsd.exe, in which you can create a easy to use class to code to from an xsd file, or generate a xsd from a valid xml file, and then run it again to create the class.

XML
<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio - FREE Community Edition 7.1.6.1440 (http://www.liquid-technologies.com)-->
<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns="" id="SignUp" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="ContactLog">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ContactLog_Record">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Name" type="xs:string" />
              <xs:element name="Email" type="xs:string" />
              <xs:element name="Comment" type="xs:string" />
              <xs:element name="IPAddress" type="xs:string" />
              <xs:element name="MessageSubmission" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>



So the output looks like this

XML
<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Liquid XML Studio - FREE Community Edition 7.1.6.1440 (http://www.liquid-technologies.com) -->
<ContactLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:///C:/Sep-WSDLS/ICE5%20Program%20XSD's/SignUp/footer_ContactLog.xsd">
  <ContactLog_Record>
    <Name>string</Name>
    <Email>string</Email>
    <Comment>string</Comment>
    <IPAddress>string</IPAddress>
    <MessageSubmission>1998-06-03T23:18:18.98</MessageSubmission>
  </ContactLog_Record>
  <ContactLog_Record>
    <Name>string</Name>
    <Email>string</Email>
    <Comment>string</Comment>
    <IPAddress>string</IPAddress>
    <MessageSubmission>1970-11-20T15:19:13.26</MessageSubmission>
  </ContactLog_Record>
  <ContactLog_Record>
    <Name>string</Name>
    <Email>string</Email>
    <Comment>string</Comment>
    <IPAddress>string</IPAddress>
    <MessageSubmission>1999-07-23T03:36:10.10</MessageSubmission>
  </ContactLog_Record>
  <ContactLog_Record>
    <Name>string</Name>
    <Email>string</Email>
    <Comment>string</Comment>
    <IPAddress>string</IPAddress>
    <MessageSubmission>2011-04-05T22:49:54.79</MessageSubmission>
  </ContactLog_Record>
  <ContactLog_Record>
    <Name>string</Name>
    <Email>string</Email>
    <Comment>string</Comment>
    <IPAddress>string</IPAddress>
    <MessageSubmission>2008-08-16T01:59:41.63</MessageSubmission>
  </ContactLog_Record>
</ContactLog>


So my question to you is, could you perhaps just give more detail to the XSD issue first.

modified 25-Apr-12 13:31pm.

GeneralRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
Olanrewaju Matthew27-Apr-12 1:41
professionalOlanrewaju Matthew27-Apr-12 1:41 
JokeRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
jkirkerx27-Apr-12 7:09
professionaljkirkerx27-Apr-12 7:09 
QuestionSql updating using Visual studio 2005 and retrieving back the same Pin
Paulus Kerketta24-Apr-12 16:46
Paulus Kerketta24-Apr-12 16:46 
AnswerRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
jkirkerx24-Apr-12 18:03
professionaljkirkerx24-Apr-12 18:03 
GeneralRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
mithoncs@8824-Apr-12 20:49
mithoncs@8824-Apr-12 20:49 
GeneralRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
Paulus Kerketta25-Apr-12 2:40
Paulus Kerketta25-Apr-12 2:40 
GeneralRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
jkirkerx25-Apr-12 6:19
professionaljkirkerx25-Apr-12 6:19 
AnswerRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
vvashishta24-Apr-12 18:24
vvashishta24-Apr-12 18:24 
AnswerRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
mithoncs@8824-Apr-12 20:49
mithoncs@8824-Apr-12 20:49 
Questionnewbie help Pin
vila321023-Apr-12 20:44
vila321023-Apr-12 20:44 
AnswerRe: newbie help Pin
Bernhard Hiller23-Apr-12 23:24
Bernhard Hiller23-Apr-12 23:24 
Questionanyone can help me with my code? i got object must implement iconvertible error after i put file upload in my source code..please help me..im new in asp.net Pin
alip rosli23-Apr-12 10:51
alip rosli23-Apr-12 10:51 
AnswerRe: anyone can help me with my code? i got object must implement iconvertible error after i put file upload in my source code..please help me..im new in asp.net Pin
jkirkerx23-Apr-12 11:48
professionaljkirkerx23-Apr-12 11:48 
GeneralRe: anyone can help me with my code? i got object must implement iconvertible error after i put file upload in my source code..please help me..im new in asp.net Pin
vvashishta24-Apr-12 18:15
vvashishta24-Apr-12 18:15 
GeneralRe: anyone can help me with my code? i got object must implement iconvertible error after i put file upload in my source code..please help me..im new in asp.net Pin
jkirkerx24-Apr-12 19:29
professionaljkirkerx24-Apr-12 19:29 
QuestionUpdate Listbox values after AJAX call doesn't work Pin
papy-boom23-Apr-12 9:36
papy-boom23-Apr-12 9:36 
AnswerRe: Update Listbox values after AJAX call doesn't work Pin
jkirkerx23-Apr-12 12:02
professionaljkirkerx23-Apr-12 12:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.