Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blocking Problem help needed 1

Status
Not open for further replies.

MarkShark

Programmer
Aug 22, 2001
36
US
I have an XML with 8 lessons. When it's uploaded to the web. Lesson 02 is imbedded into Lesson 03. Why is this happening when each lesson is contained in it's own block and it validates okay.

<?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
<!DOCTYPE course SYSTEM &quot;C:\DTD\sco_csf(5).dtd&quot; >
<course>
<globalProperties>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service.xml</location>
</externalMetadata>
<curricularTaxonomy>
<model>ADL LMS Course</model>
</curricularTaxonomy>
</globalProperties>

<block id=&quot;B0&quot;>
<!--B00-->
<!--B000-->
<!--B100-->
<!--B200-->
<!--B300-->
<!--B400-->
<!--B500-->
<!--B600-->
<!--B700-->
<!--B800-->

<identification>
<title>Food Service Sanitation Training Refresher Course</title>
<description>This course has eight lessons that provide an overview of Food Service
Sanitation</description>
<labels>
<curricular>COURSE</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>

<block id=&quot;B00&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Pretest/pretest.xml</location>
</externalMetadata>
<!--<objectiveRef targetIDs=&quot;O1&quot;/>-->
<identification>
<title>Course Pretest</title>
<description>This AU serves as a pretest to the course</description>
<labels>
<curricular>au</curricular>
<developer>Tesco, Inc</developer>
</labels>
</identification>

<au id=&quot;au0&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Pretest/pretest.xml</location>
</externalMetadata>
<identification>
<title>Course Pretest</title>
<description>This AU is the pretest for the entire course</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Pretest/pretest.html</location>
</launch>
</au>
</block>

<block id=&quot;B000&quot;>
<!--<objectiveRef targetIDs=&quot;O2&quot;/>-->
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Intro/au00.xml</location>
</externalMetadata>
<identification>
<title>Introduction</title>
<description>This AU serves as a title page, citing references and listing the lesson
objectives</description>
<labels>
<curricular>au</curricular>
<developer>Tesco, Inc</developer>
</labels>
</identification>
<au id=&quot;au00&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Intro/au00.xml</location>
</externalMetadata>
<identification>
<title>Course Introduction</title>
<description>This AU introduces the course</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Intro/AU00.html</location>
</launch>
</au>
</block>

<!-- Lesson 01: Health Requirements, Personal Hygiene and Inspections; Authorware format -->
<block id =&quot;B100&quot;>
<!--<objectiveRef targetIDs=&quot;O3&quot;/>-->

<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson01/Lesson01.xml</location>
</externalMetadata>
<identification>
<title>Personal Hygiene and Environmental Health</title>
<description>This lesson covers personal hygiene, health requirements and
inspections</description>
<labels>
<curricular>Lesson</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>

<!--AU01: Health Requirements -->
<au id = &quot;AU01&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson01/AU01/au01.xml</location>
</externalMetadata>
<identification>
<title>Health Requiremnts</title>
<description>This AU covers health requirements</description>
<labels>
<curricular>au</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>
<launch>
<location>Food Service/Lesson01/AU01/AU01.html</location>
</launch>
</au>


<au id=&quot;au02&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson01/AU02/au02.xml</location>
</externalMetadata>
<identification>
<title>Personal Hygiene</title>
<description>This AU covers proper personal hygiene practices</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson01/AU02/AU02.html</location>
</launch>
</au>

<au id = &quot;AU03&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson01/AU03/au03.xml</location>
</externalMetadata>
<identification>
<title>Inspections</title>
<description>This AU covers the three types of food inspections</description>
<labels>
<curricular>AU</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>
<launch>
<location>Food Service/Lesson01/AU03/AU03.html</location>
</launch>
</au>


<!-- Lesson 02: Micobiology and Foodborne Illness; Authorware format -->
<block id=&quot;B200&quot;>
<!--<objectiveRef targetIDs=&quot;O5&quot;/>-->
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0></model>
<location>Food Service/Lesson02/Lesson02.xml</location>
</externalMetadata>
<identification>
<title>Microbiology and Foodbourne Illness</title>
<description>This lesson covers three different types of hazards that may cause food borne
illnesses, microbiology, foodborne illnesses caused by bacteria, parasites and viruses, and
controlling the growth of microorganisms</description>
<labels>
<curricular>lesson</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>

<!-- AU04: Three Food Borne Illness Hazards -->
<au id=&quot;au04&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson02/AU04/au04.xml</location>
</externalMetadata>
<identification>
<title>Three Food Borne Illness Hazards</title>
<description>This AU describes the three different types of hazards that may cause food borne
illnesses</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson02/AU04/AU04.html</location>
</launch>
</au>

<au id = &quot;AU05&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson02/AU05/au05.xml</location>
</externalMetadata>
<identification>
<title>Microbiology</title>
<description>This AU explains the importance of microbiology as it relates to food service</description>
<labels>
<curricular>AU</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>
<launch>
<location>Food Service/Lesson02/AU05/AU05.html</location>
</launch>
</au>
<au id = &quot;AU06&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson02/AU06/au06.xml</location>
</externalMetadata>
<identification>
<title>Food Borne Illness Caused by Bacteria</title>
<description>This AU explains the role the chain of infection plays in a food borne illness
outbreak</description>
<labels>
<curricular>AU</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>
<launch>
<location>Food Service/Lesson02/AU06/AU06.html</location>
</launch>
</au>
<au id = &quot;AU07&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson02/AU07/au07.xml</location>
</externalMetadata>
<identification>
<title>Food Bourne Illness Caused by Parasites, Viruses and Toxins</title>
<description>This AU identifies the most significant agents of food borne
illnesses</description>
<labels>
<curricular>AU</curricular>
<developer>Tesco Inc</developer>
</labels>
</identification>
<launch>
<location>Food Service/Lesson02/AU07/AU07.html</location>
</launch>
</au>
</block>

<au id = &quot;AU08&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson02/AU08/au08.xml</location>
</externalMetadata>
<identification>
<title>Controlling the Growth of Microorganisms</title>
<description>This AU describes the critical control points necessary to control growth and
prevent food bourne illness</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson02/AU08/AU08.html</location>
</launch>
</au>
</block>
<!-- Lesson 03: Food Preparation and Servicing; Authorware format -->
<block id=&quot;B300&quot;>
<!--<objectiveRef targetIDs=&quot;O6&quot;/>-->
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0></model>
<location>Food Service/Lesson03.xml</location>
</externalMetadata>
<identification>
<title>Food Preparation and Serving</title>
<description>This lesson covers the minimum food protection measures, food preparation, safe
holding temperatures for cooked food, and food serving</description>
<labels>
<curricular>lesson</curricular>
</labels>
</identification>

<!--AU09: References and Objectives -->
<au id=&quot;au09&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson03/AU09/au09.xml</location>
</externalMetadata>
<identification>
<title>Minimum Food Protection Measures</title>
<description>This AU describes the minimum food protection measures required by food service
personnel</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson03/AU09/AU09.html</location>
</launch>
</au>

<au id = &quot;AU10&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson03/AU10/au10.xml</location>
</externalMetadata>
<identification>
<title>Food Preparation</title>
<description>This AU describes the proper food preparation procedures for raw animal products,
eggs, fruits and vegetables, and home cooked food</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson03/AU10/AU10.html</location>
</launch>
</au>

<au id = &quot;AU11&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson03/AU11/au11.xml</location>
</externalMetadata>
<identification>
<title>Safe Holding Temperatures for Cooked Food</title>
<description>This AU explains the time and temperature requirments for advanced preparation
foods, leftovers, and thawing</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson03/AU11/AU11.html</location>
</launch>
</au>

<au id = &quot;AU12&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>Food Service/Lesson03/AU12/au12.xml</location>
</externalMetadata>
<identification>
<title>Food Serving</title>
<description>This AU describes the proper food serving requirements</description>
<labels>
<curricular>AU</curricular>
</labels>
</identification>
<launch>
<location>Food Service/Lesson03/AU12/AU12.html</location>
</launch>
</au>
</block>
 
on a quick look thru it seems as tho there are two </block> in lesson 2 - and a </block> is missing from lesson 1.
as i said a quick look thru so if i'm talking rubbish just ignore me ;)
 
Thanks Tom,

Sometime a new pair of eyes quickly looking over someone elses work helps out greatly as it did. I don't know how many times I looked it over and didn't see that, thanks a million. It works great now and all in the right order.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top