Dear boen,i have pasted my sample working (xml and schema) file for your reference.i need Blue colored format of xml from the black colored (sample files).How can i convert the sample file?Help me on this!schema:<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="Assets"> <xs:complexType> <xs:sequence> <xs:element ref="TOCNode"/> <xs:element ref="Text"/> <xs:element ref="Quiz"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TOCNode"> <xs:complexType> <xs:sequence> <xs:element ref="PackageName"/> <xs:element ref="NodeName"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="PackageName"> <xs:complexType/> </xs:element> <xs:element name="NodeName"> <xs:complexType/> </xs:element> <xs:element name="Quiz"> <xs:complexType> <xs:sequence> <xs:element ref="name"/> <xs:element ref="Question"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Question"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="Text"/> <xs:element maxOccurs="unbounded" ref="Answer"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Answer"> <xs:complexType> <xs:sequence> <xs:element ref="Text"/> </xs:sequence> <xs:attribute name="correct" use="required" type="xs:boolean"/> </xs:complexType> </xs:element> <xs:element name="Text"> <xs:complexType> <xs:sequence> <xs:element ref="name"/> <xs:element ref="TextData"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TextData" type="xs:NMTOKEN"/> <xs:element name="name"> <xs:complexType/> </xs:element></xs:schema>xml:<Assets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema1.xsd"> <TOCNode> <PackageName></PackageName> <NodeName></NodeName> </TOCNode> <Text> <name></name> <TextData>-</TextData> </Text> <Quiz> <name></name> <Question> <Text> <name></name> <TextData>-</TextData> </Text> <Text> <name></name> <TextData>-</TextData> </Text> <Answer correct="true"> <Text> <name></name> <TextData>-</TextData> </Text> </Answer> <Answer correct="false"> <Text> <name></name> <TextData>-</TextData> </Text> </Answer> </Question> </Quiz></Assets>Sample xml and Schema:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Part []><?xml-stylesheet type="text/xsl" href="sample.xsl"?><Part> <H1>Unit 1: Subjects, Predicates, and Sentences</H1> <P>Lesson 1</P> <Sect> <H2>Kinds of Sentences: Declarative and Interrogative</H2> <P>A sentence is a group of words that expresses a complete thought. All sentences begin with a capital letter and end with a punctuation mark. Different kinds of sentences have different purposes.</P> <P>A declarative sentence makes a statement. It ends with a period.</P> <P>Last summer I went on a long trip.</P> <P>An interrogative sentence asks a question. It ends with a question mark.</P> <P>Where did you go on your vacation?</P> <P>Exercise 1 Insert a period if the sentence is declarative. Insert a question mark if it is interrogative.</P> <P>My family and I went to Alaska .</P> <L> <LI> <LI_Label>1.</LI_Label> <LI_Title>Have you ever been that far north ?</LI_Title> </LI> <LI> <LI_Label>2.</LI_Label> <LI_Title>Alaska is a wonderful and wild state .</LI_Title> </LI> <LI> <LI_Label>3.</LI_Label> <LI_Title>Isn’t it the largest state in the union ?</LI_Title> </LI> <LI> <LI_Label>4.</LI_Label> <LI_Title>Was the weather hotter than you expected ?</LI_Title> </LI> <LI> <LI_Label>5.</LI_Label> <LI_Title>Some days were so warm that I wore shorts .</LI_Title> </LI> <LI> <LI_Label>6.</LI_Label> <LI_Title>In some parts of Alaska, the sun never sets in summer .</LI_Title> </LI> <LI> <LI_Label>7.</LI_Label> <LI_Title>Summers in Alaska don’t last very long .</LI_Title> </LI> <LI> <LI_Label>8.</LI_Label> <LI_Title>Are Alaskan winters as cold as they say ?</LI_Title> </LI> <LI> <LI_Label>9.</LI_Label> <LI_Title>The ground under much of Alaska is permanently frozen .</LI_Title> </LI> </L> <L> <LI> <LI_Label>10.</LI_Label> <LI_Title>How can animals live in such a cold climate ?</LI_Title> </LI> <LI> <LI_Label>11.</LI_Label> <LI_Title>All the animals in Alaska are equipped for the cold .</LI_Title> </LI> <LI> <LI_Label>12.</LI_Label> <LI_Title>Did you see any bears in Alaska ?</LI_Title> </LI> <LI> <LI_Label>13.</LI_Label> <LI_Title>We saw a lot of brown bears at Katmai National Monument .</LI_Title> </LI> </L> <P>Name ___________________________________________________ Class _________ Date ____________________</P> <P>Grammar</P> <P>Copyright © by Glencoe/McGraw-Hill</P> <L> <LI> <LI_Label>14.</LI_Label> <LI_Title>Male brown bears can be as tall as ten feet .</LI_Title> </LI> <LI> <LI_Label>15.</LI_Label> <LI_Title>Can an animal that big move very fast ?</LI_Title> </LI> <LI> <LI_Label>16.</LI_Label> <LI_Title>A brown bear can run as fast as twenty-five miles per hour .</LI_Title> </LI> <LI> <LI_Label>17.</LI_Label> <LI_Title>Do you think you’d be afraid of a brown bear ?</LI_Title> </LI> <LI> <LI_Label>18.</LI_Label> <LI_Title>Did you know that the highest mountain in North America is in Alaska ?</LI_Title> </LI> <LI> <LI_Label>19.</LI_Label> <LI_Title>The mountain is called Denali .</LI_Title> </LI> <LI> <LI_Label>20.</LI_Label> <LI_Title>What does Denali mean ?</LI_Title> </LI> <LI> <LI_Label>21.</LI_Label> <LI_Title>Denali is a Native American word that means “the great one” .</LI_Title> </LI> <LI> <LI_Label>22.</LI_Label> <LI_Title>At one time only Native Americans lived in Alaska .</LI_Title> </LI> <LI> <LI_Label>23.</LI_Label> <LI_Title>Who were the first white settlers in Alaska ?</LI_Title> </LI> <LI> <LI_Label>24.</LI_Label> <LI_Title>Russians built a settlement on Kodiak Island in 1784 .</LI_Title> </LI> <LI> <LI_Label>25.</LI_Label> <LI_Title>Why did the Russians want to settle in Alaska ?</LI_Title> </LI> <LI> <LI_Label>26.</LI_Label> <LI_Title>They went there to look for furs .</LI_Title> </LI> <LI> <LI_Label>27.</LI_Label> <LI_Title>Russia sold Alaska to the United States in 1867 .</LI_Title> </LI> <LI> <LI_Label>28.</LI_Label> <LI_Title>How much did the United States pay for Alaska ?</LI_Title> </LI> <LI> <LI_Label>29.</LI_Label> <LI_Title>Alaska cost the United States $7.2 million .</LI_Title> </LI> <LI> <LI_Label>30.</LI_Label> <LI_Title>Does that seem like a lot of money to you ?</LI_Title> </LI> <LI> <LI_Label>31.</LI_Label> <LI_Title>When did Americans begin going to Alaska ?</LI_Title> </LI> <LI> <LI_Label>32.</LI_Label> <LI_Title>Americans began going to Alaska during the 1890s and 1900s .</LI_Title> </LI> <LI> <LI_Label>33.</LI_Label> <LI_Title>They went there to look for gold .</LI_Title> </LI> <LI> <LI_Label>34.</LI_Label> <LI_Title>Large amounts of “black gold” were discovered in Alaska in 1968 .</LI_Title> </LI> <LI> <LI_Label>35.</LI_Label> <LI_Title>What is “black gold” ?</LI_Title> </LI> <LI> <LI_Label>36.</LI_Label> <LI_Title>“Black gold” is another name for oil .</LI_Title> </LI> <LI> <LI_Label>37.</LI_Label> <LI_Title>Alaska also has coal, platinum, copper, and uranium .</LI_Title> </LI> <LI> <LI_Label>38.</LI_Label> <LI_Title>Did you take many pictures during your trip ?</LI_Title> </LI> <LI> <LI_Label>39.</LI_Label> <LI_Title>I took a great shot of an eagle catching a salmon .</LI_Title> </LI> <LI> <LI_Label>40.</LI_Label> <LI_Title>Do you want to see some other pictures I took ?</LI_Title> </LI> </L> <P>48 Grammar and Language Workbook, Grade 6</P> <P>Lesson 2</P> </Sect> <Sect> <H2>Kinds of Sentences: Exclamatory and Imperative</H2> <P>Copyright © by Glencoe/McGraw-Hill</P> <P>In addition to declarative and interrogative sentences, there are two other types of sentences. An exclamatory sentence shows strong feeling. It ends with an exclamation point.</P> <P>I never saw so much traffic!</P> <P>An imperative sentence commands someone to do something. The subject you is understood. An imperative sentence can end with either a period or an exclamation point.</P> <P>(You) Look both ways before crossing the street. (You) Look out!</P> <P>Exercise 1 Write exc. in the blank before each exclamatory sentence and imp. before each imperative sentence.</P> <Table> <TR> <TH>exc.</TH> <TD>That alarm clock is too loud!</TD> </TR> <TR> <TH>imp.</TH> <TD>1. Give the orange juice to Cecilia.</TD> </TR> <TR> <TH>exc.</TH> <TD>2. How sleepy I am!</TD> </TR> <TR> <TH>exc.</TH> <TD>3. What a funny dream I had last night!</TD> </TR> <TR> <TH>exc.</TH> <TD>4. I can hardly wait for the dance!</TD> </TR> <TR> <TH>imp.</TH> <TD>5. Please don’t talk so loudly.</TD> </TR> <TR> <TH>imp.</TH> <TD>6. Tell Kwasi that it’s time to get up.</TD> </TR> <TR> <TH>imp.</TH> <TD>7. Put the timer where you’ll be sure to see it.</TD> </TR> <TR> <TH>exc.</TH> <TD>8. I love peanut butter sandwiches!</TD> </TR> <TR> <TH>exc.</TH> <TD>9. The toast is burning!</TD> </TR> <TR> <TH>imp.</TH> <TD>10. Give this bottle to the baby.</TD> </TR> <TR> <TH>exc.</TH> <TD>11. Becky spilled all her cereal!</TD> </TR> <TR> <TH>imp.</TH> <TD>12. Mop it up with a paper towel.</TD> </TR> <TR> <TH>imp.</TH> <TD>13. Help me set the table.</TD> </TR> <TR> <TH>exc.</TH> <TD>14. I’m in trouble if I’m late for school!</TD> </TR> <TR> <TH>exc.</TH> <TD>15. Jan forgot to do her math homework!</TD> </TR> </Table> <P>Grammar</P> <P>Copyright © by Glencoe/McGraw-Hill</P> <P>Name ___________________________________________________ Class _________ Date ____________________</P> <Table> <TR> <TH>imp.</TH> <TD>16. Please take these books back to the library.</TD> </TR> <TR> <TH>imp.</TH> <TD>17. Pour some more milk for Ricardo.</TD> </TR> <TR> <TH>exc.</TH> <TD>18. How I would love to be a rock star!</TD> </TR> <TR> <TH>imp.</TH> <TD>19. Get that cat off the table!</TD> </TR> <TR> <TH>exc.</TH> <TD>20. The puppy chewed a hole in my sock!</TD> </TR> <TR> <TH>imp.</TH> <TD>21. Pull up the anchor so we can be on our way.</TD> </TR> <TR> <TH>exc.</TH> <TD>22. Gordo is such a cute puppy!</TD> </TR> <TR> <TH>imp.</TH> <TD>23. Take these old magazines to your art teacher.</TD> </TR> <TR> <TH>imp.</TH> <TD>24. Be careful not to drop the plates.</TD> </TR> <TR> <TH>exc.</TH> <TD>25. My new sneakers are covered with mud!</TD> </TR> <TR> <TH>imp.</TH> <TD>26. Comb Tina’s hair and put a ribbon in it.</TD> </TR> <TR> <TH>exc.</TH> <TD>27. I wish Dad would drive us to school!</TD> </TR> <TR> <TH>exc.</TH> <TD>28. I can’t believe you ate all of that!</TD> </TR> <TR> <TH>exc.</TH> <TD>29. Oh, no, the car won’t start!</TD> </TR> <TR> <TH>imp.</TH> <TD>30. Make sure you have enough air in your bike tires.</TD> </TR> <TR> <TH>imp.</TH> <TD>31. Put your dishes in the sink before you leave.</TD> </TR> <TR> <TH>imp.</TH> <TD>32. Don’t forget to call me when you get home.</TD> </TR> <TR> <TH>exc.</TH> <TD>33. I dropped my ring into the sink!</TD> </TR> <TR> <TH>exc.</TH> <TD>34. You spilled juice on the floor!</TD> </TR> <TR> <TH>imp.</TH> <TD>35. Make sure you tie your shoes before jogging.</TD> </TR> <TR> <TH>imp.</TH> <TD>36. Put this apple in your pocket.</TD> </TR> </Table> <P>Writing Link Write a paragraph explaining how to play a game. Use exclamatory and imperative sentences.</P> <P>50 Grammar and Language Workbook, Grade 6</P> <P>Lesson 3</P> </Sect> <Sect> <H2>Subjects and Predicates: Simple and Complete</H2> <P>Copyright © by Glencoe/McGraw-Hill</P> <P>Every sentence has two parts: a subject and a predicate. The subject part of a sentence names whom or what the sentence is about. The predicate part of a sentence tells what the subject does or has. It can also describe what the subject is or is like.</P> <P>SUBJECT PART PREDICATE PART The mountain climbers reached the peak.</P> <P>The complete subject is all of the words in the subject part of a sentence. The complete predicate is all of the words in the predicate part of a sentence.</P> <P>COMPLETE SUBJECT COMPLETE PREDICATE The horse’s black mane was blowing in the wind.</P> <P>The simple subject is the main person or thing in the subject part of a sentence. The simple predicate is the main word or group of words in the predicate part of a sentence.</P> <P>SIMPLE SUBJECT SIMPLE PREDICATEThe horse’s black mane was blowing in the wind.</P> <P>Exercise 1 Draw one line under each complete subject and two lines under each complete predicate.</P> <P>The bottle of milk is in the refrigerator.</P> <L> <LI> <LI_Label>1.</LI_Label> <LI_Title>That little dog is following us to school.</LI_Title> </LI> <LI> <LI_Label>2.</LI_Label> <LI_Title>Brian forgot his flute.</LI_Title> </LI> <LI> <LI_Label>3.</LI_Label> <LI_Title>The yellow canary fell in love with the shiny mirror.</LI_Title> </LI> <LI> <LI_Label>4.</LI_Label> <LI_Title>Those plaid slacks are much too long for me.</LI_Title> </LI> <LI> <LI_Label>5.</LI_Label> <LI_Title>Kisha hated the movie.</LI_Title> </LI> <LI> <LI_Label>6.</LI_Label> <LI_Title>The big, shaggy animals in the pen are yaks.</LI_Title> </LI> <LI> <LI_Label>7.</LI_Label> <LI_Title>The girl’s long red hair shone in the sun.</LI_Title> </LI> <LI> <LI_Label>8.</LI_Label> <LI_Title>The Yellow Hornets won the softball game.</LI_Title> </LI> <LI> <LI_Label>9.</LI_Label> <LI_Title>My cousin Diana hit the ball right over the fence.</LI_Title> </LI> </L> <P>10. A sudden rainstorm ended the game.</P> <P>Name ___________________________________________________ Class _________ Date ____________________</P> <P>Grammar</P> <P>Copyright © by Glencoe/McGraw-Hill</P> <L> <LI> <LI_Label>11.</LI_Label> <LI_Title>He spilled the popcorn on the person in front of him.</LI_Title> </LI> <LI> <LI_Label>12.</LI_Label> <LI_Title>Franco walked home alone.</LI_Title> </LI> <LI> <LI_Label>13.</LI_Label> <LI_Title>The fire engine raced by on the way to a fire.</LI_Title> </LI> <LI> <LI_Label>14.</LI_Label> <LI_Title>Dad’s tie was ruined by the gooey mess.</LI_Title> </LI> <LI> <LI_Label>15.</LI_Label> <LI_Title>The red construction paper is in the cabinet.</LI_Title> </LI> <LI> <LI_Label>16.</LI_Label> <LI_Title>Captain Kidd was a fearsome pirate.</LI_Title> </LI> <LI> <LI_Label>17.</LI_Label> <LI_Title>The band played for two hours.</LI_Title> </LI> <LI> <LI_Label>18.</LI_Label> <LI_Title>The small boat sank in the big waves.</LI_Title> </LI> <LI> <LI_Label>19.</LI_Label> <LI_Title>The brave soldier was rescued.</LI_Title> </LI> <LI> <LI_Label>20.</LI_Label> <LI_Title>Alison’s stepmother teaches English at the high school.</LI_Title> </LI> </L> <P>Exercise 2 Draw one line under each simple subject and two lines under each simple predicate.</P> <P>I am twelve years old today.</P> <L> <LI> <LI_Label>1.</LI_Label> <LI_Title>Marco was born in Venice, Italy.</LI_Title> </LI> <LI> <LI_Label>2.</LI_Label> <LI_Title>Chanel’s father traded his used car for a new one.</LI_Title> </LI> <LI> <LI_Label>3.</LI_Label> <LI_Title>He traveled all the way to China by himself.</LI_Title> </LI> <LI> <LI_Label>4.</LI_Label> <LI_Title>Those two were the first to cross the finish line.</LI_Title> </LI> <LI> <LI_Label>5.</LI_Label> <LI_Title>In March, I returned all of my library books.</LI_Title> </LI> <LI> <LI_Label>6.</LI_Label> <LI_Title>At least one hundred people waited in line.</LI_Title> </LI> <LI> <LI_Label>7.</LI_Label> <LI_Title>He told his little sister a bedtime story.</LI_Title> </LI> <LI> <LI_Label>8.</LI_Label> <LI_Title>Scott’s cousin lost his favorite jacket.</LI_Title> </LI> <LI> <LI_Label>9.</LI_Label> <LI_Title>The diagram showed three secret passageways.</LI_Title> </LI> </L> <L> <LI> <LI_Label>10.</LI_Label> <LI_Title>Chen’s nickname was “Louisville Slugger.”</LI_Title> </LI> <LI> <LI_Label>11.</LI_Label> <LI_Title>Marina never told people her secret.</LI_Title> </LI> <LI> <LI_Label>12.</LI_Label> <LI_Title>The musician strummed the guitar quietly.</LI_Title> </LI> <LI> <LI_Label>13.</LI_Label> <LI_Title>Christopher read every book by his favorite author.</LI_Title> </LI> <LI> <LI_Label>14.</LI_Label> <LI_Title>The red skirt cost more than the blue skirt.</LI_Title> </LI> <LI> <LI_Label>15.</LI_Label> <LI_Title>The Buckeroos made Gary an honorary member of the team.</LI_Title> </LI> </L> <P>52 Grammar and Language Workbook, Grade 6</P> <P>Lesson 4</P> </Sect> <Sect> <H2>Subjects and Predicates: Compound</H2> <P>Copyright © by Glencoe/McGraw-Hill</P> <P>Some sentences have more than one simple subject or simple predicate. A compound subject is two or more simple subjects that have the same predicate. The simple subjects are joined by and, or, or but.</P> <P>Mummies and art objects are found in Egyptian tombs.</P> <P>A compound predicate is two or more simple predicates that have the same subject. The simple predicates are connected by and, or, or but.</P> <P>The archaeologists excavated the tomb and discovered the treasure.</P> <P>Some sentences have both a compound subject and a compound predicate.</P> <P>The pharaoh and his wife loved the people and did many good works.</P> <P>Exercise 1 Draw one line under the compound subject and two lines under the simple predicate that they share.</P> <P>Volcanoes and earthquakes cause great destruction.</P> <L> <LI> <LI_Label>1.</LI_Label> <LI_Title>Rome and Florence are two cities in Italy.</LI_Title> </LI> <LI> <LI_Label>2.</LI_Label> <LI_Title>Both Sara and Caroline were chosen for the team.</LI_Title> </LI> <LI> <LI_Label>3.</LI_Label> <LI_Title>Cinders and ashes rose from the fire.</LI_Title> </LI> <LI> <LI_Label>4.</LI_Label> <LI_Title>People and animals mingle at the zoo.</LI_Title> </LI> <LI> <LI_Label>5.</LI_Label> <LI_Title>Historians, archaeologists, and tourists love to explore ancient ruins.</LI_Title> </LI> <LI> <LI_Label>6.</LI_Label> <LI_Title>Paintings and other objects were on display at the museum.</LI_Title> </LI> <LI> <LI_Label>7.</LI_Label> <LI_Title>Smoke and car exhaust pollute the air.</LI_Title> </LI> <LI> <LI_Label>8.</LI_Label> <LI_Title>Hot dogs and hamburgers sizzled on the grill.</LI_Title> </LI> <LI> <LI_Label>9.</LI_Label> <LI_Title>In Egypt mummies and pyramids are favorite subjects of study.</LI_Title> </LI> </L> <L> <LI> <LI_Label>10.</LI_Label> <LI_Title>My uncle and brother visited me in the hospital.</LI_Title> </LI> <LI> <LI_Label>11.</LI_Label> <LI_Title>In the summer Shama and I swim every day.</LI_Title> </LI> <LI> <LI_Label>12.</LI_Label> <LI_Title>Gold and silver cost more than copper.</LI_Title> </LI> <LI> <LI_Label>13.</LI_Label> <LI_Title>Food and dishes filled the table.</LI_Title> </LI> <LI> <LI_Label>14.</LI_Label> <LI_Title>The doctor and her nurse waited for the next patient.</LI_Title> </LI> </L> </Sect></Part><?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="Part"> <xs:complexType> <xs:sequence> <xs:element ref="H1"/> <xs:element ref="P"/> <xs:element maxOccurs="unbounded" ref="Sect"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="H1" type="xs:string"/> <xs:element name="Sect"> <xs:complexType> <xs:sequence> <xs:element ref="H2"/> <xs:choice maxOccurs="unbounded"> <xs:element ref="P"/> <xs:element ref="L"/> <xs:element ref="Table"/> </xs:choice> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="H2" type="xs:string"/> <xs:element name="L"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="LI"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="LI"> <xs:complexType> <xs:sequence> <xs:element ref="LI_Label"/> <xs:element ref="LI_Title"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="LI_Label" type="xs:decimal"/> <xs:element name="LI_Title" type="xs:string"/> <xs:element name="Table"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="TR"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TR"> <xs:complexType> <xs:sequence> <xs:element ref="TH"/> <xs:element ref="TD"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TH" type="xs:NCName"/> <xs:element name="TD" type="xs:string"/> <xs:element name="P" type="xs:string"/></xs:schema>-----------------------------------------------------------------------------------------------------------Thank You!kamal