Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to selectsinglenodes with attribute value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00961280
Message ID:
00961385
Vues:
8
>Hi Terry,
>
>Can you paste valid XML (part)?
>
>MartinJ

it's big (sorry michele:)
the "resources" node is oXML.documentelement.childnodes(2)
<?xml version="1.0" standalone="no" ?>
<manifest identifier="photo-MANIFEST-none" version="1.3"
    xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
    xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_v1p3"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd
                        http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd">
   <metadata>
      <schema>ADL SCORM</schema>
      <schemaversion>CAM 1.3</schemaversion>
   </metadata>                    
                        
   <organizations default="TOC1">
      <organization identifier="TOC1">
         <title>Photoshop Example -- None</title>
         <item identifier="INTRO" identifierref="RESOURCE_INTRO">
            <title>Introduction</title>
         </item>
         <item identifier="MODULE1">
            <title>Module 1 -- Basics</title>
            <item identifier="LESSON1" identifierref="RESOURCE_LESSON1">
               <title>Lesson 1 -- Interface</title>
            </item>
            <item identifier="LESSON2" identifierref="RESOURCE_LESSON2">
               <title>Lesson 2 -- Toolbox</title>
            </item>
            <item identifier="LESSON3" identifierref="RESOURCE_LESSON3">
               <title>Lesson 3 -- Palettes</title>
            </item>
            <item identifier="LESSON4" identifierref="RESOURCE_LESSON4">
               <title>Lesson 4 -- Layers</title>
            </item>
         </item>
         <item identifier="MODULE2">
            <title>Module 2 -- Enhancing Images</title>
            <item identifier="LESSON5" identifierref="RESOURCE_LESSON5">
               <title>Lesson 5 -- Color Balance</title>
            </item>
            <item identifier="LESSON6" identifierref="RESOURCE_LESSON6">
               <title>Lesson 6 -- Brightness and Contrast</title>
            </item>
            <item identifier="LESSON7" identifierref="RESOURCE_LESSON7">
               <title>Lesson 7 -- Hue and Saturation</title>
            </item>
         </item>
         <item identifier="MODULE3">
            <title>Module 3 -- Blending Images</title>
            <item identifier="LESSON8" identifierref="RESOURCE_LESSON8">
               <title>Lesson 8 -- Selection Tools</title>
            </item>
            <item identifier="LESSON9" identifierref="RESOURCE_LESSON9">
               <title>Lesson 9 -- Transform</title>
            </item>
         </item>
         <item identifier="EXAM">
            <title>Exam</title>
            <item identifier="QUESTION1" identifierref="RESOURCE_QUESTION1" parameters="?main=Exam&amp;sub=Question%201">
               <title>Question 1</title>
            </item>
            <item identifier="QUESTION2" identifierref="RESOURCE_QUESTION2" parameters="?main=Exam&amp;sub=Question%202">
               <title>Question 2</title>
            </item>
            <item identifier="QUESTION3" identifierref="RESOURCE_QUESTION3" parameters="?main=Exam&amp;sub=Question%203">
               <title>Question 3</title>
            </item>
            <item identifier="QUESTION4" identifierref="RESOURCE_QUESTION4" parameters="?main=Exam&amp;sub=Question%204">
               <title>Question 4</title>
            </item>
            <item identifier="QUESTION5" identifierref="RESOURCE_QUESTION5" parameters="?main=Exam&amp;sub=Question%205">
               <title>Question 5</title>
            </item>
            <item identifier="QUESTION6" identifierref="RESOURCE_QUESTION6" parameters="?main=Exam&amp;sub=Question%206">
               <title>Question 6</title>
            </item>
            <item identifier="QUESTION7" identifierref="RESOURCE_QUESTION7" parameters="?main=Exam&amp;sub=Question%207">
               <title>Question 7</title>
            </item>
            <item identifier="QUESTION8" identifierref="RESOURCE_QUESTION8" parameters="?main=Exam&amp;sub=Question%208">
               <title>Question 8</title>
            </item>
            <item identifier="QUESTION9" identifierref="RESOURCE_QUESTION9" parameters="?main=Exam&amp;sub=Question%209">
               <title>Question 9</title>
            </item>
         </item>
      </organization>
   </organizations>
   <resources>
      <resource identifier="RESOURCE_INTRO" adlcp:scormType="asset" type="webcontent" href="intro.htm">
         <file href="intro.htm" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON1" adlcp:scormType="asset" type="webcontent" href="Lesson1.htm">
         <file href="Lesson1.htm" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/LessonTitle1.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/interfacesmall.jpg" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON2" adlcp:scormType="asset" type="webcontent" href="Lesson2.htm">
         <file href="Lesson2.htm" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/HandTool.gif" />
         <file href="images/LessonTitle2.gif" />
         <file href="images/ZoomToolIcon.gif" />
         <file href="images/box.gif" />
         <file href="images/colorselect.gif" />
         <file href="images/enhancementtools.gif" />
         <file href="images/eyedroppertool.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/navagationtools.gif" />
         <file href="images/objecttools.gif" />
         <file href="images/pssidebar.gif" />
         <file href="images/selectiontools.gif" />
         <file href="images/toolbox.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON3" adlcp:scormType="asset" type="webcontent" href="Lesson3.htm">
         <file href="Lesson3.htm" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/LessonTitle3.gif" />
         <file href="images/defaultpalettes.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON4" adlcp:scormType="asset" type="webcontent" href="Lesson4.htm">
         <file href="Lesson4.htm" />
         <file href="images/37.gif" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/LessonTitle4.gif" />
         <file href="images/eyeicon.gif" />
         <file href="images/flatlayers.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/layerarrows.gif" />
         <file href="images/layers.gif" />
         <file href="images/linkicon.gif" />
         <file href="images/newlayericon.gif" />
         <file href="images/paintbrush.gif" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON5" adlcp:scormType="asset" type="webcontent" href="Lesson5.htm">
         <file href="Lesson5.htm" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/LessonTitle5.gif" />
         <file href="images/Tree-and-DragonsGreen.jpg" />
         <file href="images/Tree-and-Dragonsnot-Green.jpg" />
         <file href="images/box.gif" />
         <file href="images/colorbalancebox.gif" />
         <file href="images/colorbalancemenu2.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON6" adlcp:scormType="asset" type="webcontent" href="Lesson6.htm">
         <file href="Lesson6.htm" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/Jar-GateDark.jpg" />
         <file href="images/Jar-GateLight.jpg" />
         <file href="images/LessonTitle6.gif" />
         <file href="images/box.gif" />
         <file href="images/brightnesscontrastbox.gif" />
         <file href="images/brightnesscontrastmenu.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON7" adlcp:scormType="asset" type="webcontent" href="Lesson7.htm">
         <file href="Lesson7.htm" />
         <file href="images/Circular-GateDark.jpg" />
         <file href="images/Circular-GateLight.jpg" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/LessonTitle7.gif" />
         <file href="images/box.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/huesaturationbox.gif" />
         <file href="images/huesaturationmenu.gif" />
         <file href="images/pssidebar.gif" />
      </resource>
      <resource identifier="RESOURCE_LESSON8" adlcp:scormType="asset" type="webcontent" href="Lesson8.htm">
         <file href="Lesson8.htm" />
         <file href="images/Addition.gif" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/IntersectionIcon.gif" />
         <file href="images/LessonTitle8.gif" />
         <file href="images/MagicWandBar.gif" />
         <file href="images/MagicWandIcon.gif" />
         <file href="images/Selection.gif" />
         <file href="images/SubtractionIcon.gif" />
         <file href="images/addtosubtractfromselection.gif" />
         <file href="images/dafbackground.jpg" />
         <file href="images/dafmagicselect.jpg" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/lassotools.gif" />
         <file href="images/marqueetools.gif" />
         <file href="images/originaldaf.jpg" />
         <file href="images/pssidebar.gif" />
         <file href="images/selectiontools.gif" />
         <file href="images/singledafselection.jpg" />
      </resource>
      <resource identifier="RESOURCE_LESSON9" adlcp:scormType="asset" type="webcontent" href="Lesson9.htm">
         <file href="Lesson9.htm" />
         <file href="images/EndOfLesson.gif" />
         <file href="images/LessonTitle9.gif" />
         <file href="images/TransformFlyout.gif" />
         <file href="images/birdfeeder.jpg" />
         <file href="images/birdfeederdistort.gif" />
         <file href="images/birdfeederflip.gif" />
         <file href="images/birdfeederperspective.gif" />
         <file href="images/birdfeederrotated.jpg" />
         <file href="images/birdfeederscaled.jpg" />
         <file href="images/birdfeederskewed.gif" />
         <file href="images/box-distort.gif" />
         <file href="images/box-flip.gif" />
         <file href="images/box-perspective.gif" />
         <file href="images/box-rotate.gif" />
         <file href="images/box-scale.gif" />
         <file href="images/box-skew.gif" />
         <file href="images/box.gif" />
         <file href="images/headerside.gif" />
         <file href="images/headertop.gif" />
         <file href="images/pssidebar.gif" />
         <file href="images/transformCheck.gif" />
         <file href="images/transformX.gif" />
      </resource>
      <resource identifier="RESOURCE_QUESTION1" adlcp:scormType="sco" type="webcontent" href="Question1.htm">
         <file href="Question1.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION2" adlcp:scormType="sco" type="webcontent" href="Question2.htm">
         <file href="Question2.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION3" adlcp:scormType="sco" type="webcontent" href="Question3.htm">
         <file href="Question3.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION4" adlcp:scormType="sco" type="webcontent" href="Question4.htm">
         <file href="Question4.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION5" adlcp:scormType="sco" type="webcontent" href="Question5.htm">
         <file href="Question5.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION6" adlcp:scormType="sco" type="webcontent" href="Question6.htm">
         <file href="Question6.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION7" adlcp:scormType="sco" type="webcontent" href="Question7.htm">
         <file href="Question7.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION8" adlcp:scormType="sco" type="webcontent" href="Question8.htm">
         <file href="Question8.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
      <resource identifier="RESOURCE_QUESTION9" adlcp:scormType="sco" type="webcontent" href="Question9.htm">
         <file href="Question9.htm" />
         <file href="util/Photoshop_APIWrapper.js" />
      </resource>
   </resources>
</manifest>
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform