Como lo realizo?
Publicado por SPT (1 intervención) el 13/11/2007 15:03:04
Hola, necesito ayuda urgente....
Tengo un fichero imsmanifest.xml del tipo:
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns="http://www.imsproject.org/xsd/imscp_rootv1p1p2" xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2" identifier="MANIFEST-5DC77706-506A-AF1C-EA6B-35310BD4D106" xsi:schemaLocation="http://www.imsproject.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd http://www.adlnet.org/xsd/adlcp_rootv1p2 adlcp_rootv1p2.xsd">
<organizations default="ORG-93DD569A-851A-41A8-B1F0-546F0F65370C">
<organization identifier="ORG-93DD569A-851A-41A8-B1F0-546F0F65370C" structure="hierarchical">
<title><![CDATA[Outlook 2003]]></title>
<item identifier="P01" identifierref="LAUNCH_P01" isvisible="true">
<title><![CDATA[Pre Evaluaci></title>
<adlcp:masteryscore>50</adlcp:masteryscore>
</item>
</organization>
</organizations>
<resources>
<resource identifier="LAUNCH_P01" type="webcontent" adlcp:scormtype="sco" href="launch.htm?root=eses_Outlook_2003&lesson=Eval/PreEval.xml&scorm=1&skin=skins/renfe.xml" />
</resource>
</resources>
</manifest>
Tengo que leerlo con asp, comprobar que se trata de un fichero real xml y extraer datos como son "identifier", "title", "identifierref" y "href", para incluirlos en una BBDD en Access.
La idea la tengo mas o menos clara, pero no se por donde empezar. Me podeis echar una mano?
Muchas gracias
Tengo un fichero imsmanifest.xml del tipo:
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns="http://www.imsproject.org/xsd/imscp_rootv1p1p2" xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2" identifier="MANIFEST-5DC77706-506A-AF1C-EA6B-35310BD4D106" xsi:schemaLocation="http://www.imsproject.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd http://www.adlnet.org/xsd/adlcp_rootv1p2 adlcp_rootv1p2.xsd">
<organizations default="ORG-93DD569A-851A-41A8-B1F0-546F0F65370C">
<organization identifier="ORG-93DD569A-851A-41A8-B1F0-546F0F65370C" structure="hierarchical">
<title><![CDATA[Outlook 2003]]></title>
<item identifier="P01" identifierref="LAUNCH_P01" isvisible="true">
<title><![CDATA[Pre Evaluaci></title>
<adlcp:masteryscore>50</adlcp:masteryscore>
</item>
</organization>
</organizations>
<resources>
<resource identifier="LAUNCH_P01" type="webcontent" adlcp:scormtype="sco" href="launch.htm?root=eses_Outlook_2003&lesson=Eval/PreEval.xml&scorm=1&skin=skins/renfe.xml" />
</resource>
</resources>
</manifest>
Tengo que leerlo con asp, comprobar que se trata de un fichero real xml y extraer datos como son "identifier", "title", "identifierref" y "href", para incluirlos en una BBDD en Access.
La idea la tengo mas o menos clara, pero no se por donde empezar. Me podeis echar una mano?
Muchas gracias
Valora esta pregunta
0