Advertisement

04.13.2004 at 08:20AM PDT, ID: 20952447
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

XML Schema

Asked by myare2004 in Extensible Markup Language (XML), Extensible HTML (XHTML)

Hi there
I am just beginner of this area. I developed xml and xsl which is now working ok,
But I am trying to add xml schema to validate my elements, but unfortunately I am having difficult with that.
I want you to help me out this problem, am enclosing my welcome.xsd file and my welcome.xml
Please try to spend some time to understand my code and then debug it.

xml schema:  welcome.xsd

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.w3schools.com"
xmlns="http://www.w3schools.com"
elementFormDefault="qualified">

<xs:element name="MyPage">
 <xs:complexType>
  <xs:sequence>
    <xs:element name="name" type="xs:string"/>
      <xs:element name="xariiq" type="xs:string"/>
      <xs:element name="personalInfo" type="xs:string"/>
        <xs:complexType>
          <xs:squence>
            <xs:element name="photograph" type="xs:string"/>
                <xs:element name="details" type="xs:string"/>
                  <xs:element name="email" type="xs:string"/>
        </xs:sequence>
           </xs:complexType>
            <xs:element name="infoBlock" type="xs:string"/>
             <xs:complexType>
            <xs:squence>
              <xs:element name="title" type="xs:string"/>
               <xs:element name="curriculumVitae" type="xs:string"/>
                <xs:element name="Profiles" type="xs:string"/>
                 <xs:element name="mscdegree" type="xs:string"/>
                  <xs:element name="bscdegree" type="xs:string"/>
                   <xs:element name="hndcertificate" type="xs:string"/>
                    <xs:element name="help" type="xs:string"/>
                     <xs:element name="contact" type="xs:string"/>
                      <xs:element name="background" type="xs:string"/>
                      <xs:element name="link" type="xs:string"/>
           <xs:complexType>
            <xs:squence>
             <xs:element name="href" type="xs:string"/>
              <xs:element name="linkname" type="xs:string"/>
              </xs:sequence>
            </xs:complexType>
            </xs:element>
        </xs:sequence>
           </xs:complexType>           
       </xs:element>
      </xs:sequence>
     </xs:complexType>
   </xs:element>
 </xs:schema>

xml file: welcome.xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="welcome.xsl"?>

<welcome xmlns="http://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com welcome.xsd">

<MyPage>

<name>
 Web Page:</name>
<xariiq>xariiq.gif</xariiq>

<personalInfo>

      <photograph>
                 graduation.jpg
      </photograph>
            
      <detail>
            <p>I'm a MSc part time student in Internat Computing within Software Engineering at Westminster
                  University.</p>
            <p> I found really very challanging and skill full
               in this area.</p>
      </detail>
      
      <email>
               My Email is: dsssl@hotmail.com
      </email>
      
</personalInfo>

<infoBlock>
<title>
      My Background:
</title>

<curriculumVitae>
            myCV.jpg
</curriculumVitae>
      
<Profiles>
      personalProfiles.jpg
</Profiles>
      
<mscdegree>
      MSc.jpg
</mscdegree>

<bscdegree>
      BSc.jpg
</bscdegree>
      
<hndcertificate>
      HND.jpg
</hndcertificate>
      
<help>
      Help.jpg
</help>
      
<contact>
      Contacts.jpg
</contact>
<background>
      My name is
</background>
<link>
      <href>https://intranet.cscs.wmin.ac.uk/~douglap</href>
      <linkname>
            My Personal Page
      </linkname>
</link>

</infoBlock>

</MyPage>Start Free Trial
[+][-]04.13.2004 at 04:23PM PDT, ID: 10818691

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.13.2004 at 04:49PM PDT, ID: 10818791

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.14.2004 at 03:36AM PDT, ID: 10822008

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.14.2004 at 05:15AM PDT, ID: 10822556

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible Markup Language (XML), Extensible HTML (XHTML)
Sign Up Now!
Solution Provided By: dfiala13
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.14.2004 at 12:14PM PDT, ID: 10826753

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2004 at 03:25PM PDT, ID: 10837680

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2004 at 09:16AM PDT, ID: 10849666

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2004 at 09:31AM PDT, ID: 10849720

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2004 at 11:39AM PDT, ID: 10871329

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.16.2004 at 04:26AM PST, ID: 12592705

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.20.2004 at 01:14AM PST, ID: 12632872

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32