62,046
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="GB2312"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by liulp (one) -->
<manifest identifier="yhd" version="1.0" xmlns="http://www.imsproject.org/xsd/imscp_rootv1p1p2" xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsproject.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd
http://www.imsglobal.org/xsd/imsmd_rootv1p2p1 imsmd_rootv1p2p1.xsd
http://www.adlnet.org/xsd/adlcp_rootv1p2 adlcp_rootv1p2.xsd">
<organizations default="TOC0">
<organization identifier="TOC0">
<title>中级财务会计</title>
<item isvisible="false" identifier="t01" reworkable="true" isrecord="false" identifierref="" >
<title>通用模块</title>
<item isvisible="false" identifier="t01t01" reworkable="true" isrecord="false" identifierref="resourcet01t01">
<title>课程首页</title>
</item>
<item isvisible="false" identifier="t01t02" reworkable="true" isrecord="false" identifierref="resourcet01t02">
<title>课程信息</title>
</item>
<item isvisible="false" identifier="t01t03" reworkable="true" isrecord="false" identifierref="resourcet01t03">
<title>教学队伍</title>
</item>
</item>
<item isvisible="true" identifier="c01" reworkable="true" isrecord="false" identifierref="">
<title>第1单元 总论ss</title>
<item isvisible="true" identifier="c01k01" reworkable="true" isrecord="true" identifierref="">
<title>导学</title>
<item isvisible="true" identifier="c01k01sco01" reworkable="true" isrecord="true" identifierref="resourcec01k01sco01">
<title>学习指南</title>
</item>
<item isvisible="true" identifier="c01k01sco02" reworkable="true" isrecord="true" identifierref="resourcec01k01sco02">
<title>问题引导</title>
</item>
</item>
<item isvisible="true" identifier="c01k02" reworkable="true" isrecord="true" identifierref="" >
<title>自学</title>
<item isvisible="true" identifier="c01k02sco01" reworkable="false" isrecord="true" identifierref="resourcec01k02sco01" >
<title>知识要点</title>
</item>
<item isvisible="true" identifier="c01k02sco02" reworkable="false" isrecord="true" identifierref="resourcec01k02sco02">
<title>单元测试</title>
</item>
</item>
</item>
<metadata>
<schema>ADL SCORM</schema>
<schemaversion>1.2</schemaversion>
<adlcp:location>metadata.xml</adlcp:location>
</metadata>
</organization>
</organizations>
<resources>
<resource identifier="resourcet01t01" type="webcontent" adlcp:scormtype="sco" href="content/t01/t01t01.htm">
<file href="content/t01/t01t01.htm" />
</resource>
<resource identifier="resourcet01t02" type="webcontent" adlcp:scormtype="sco" href="content/t01/t01t02.htm">
<file href="content/t01/t01t02.htm" />
</resource>
<resource identifier="resourcet01t03" type="webcontent" adlcp:scormtype="sco" href="content/t01/t01t03.htm">
<file href="content/t01/t01t03.htm" />
</resource>
<resource identifier="resourcec01k01sco01" type="webcontent" adlcp:scormtype="sco" href="content/c01/c01k01sco01.htm">
<file href="content/c01/c01k01sco01.htm" />
<menuPic href="content/images/menuBtn1.jpg" />
<page pageCount="4" />
</resource>
<resource identifier="resourcec01k01sco02" type="webcontent" adlcp:scormtype="sco" href="content/c01/c01k01sco02.htm">
<file href="content/c01/c01k01sco02.htm" />
</resource>
<resource identifier="resourcec01k02sco01" type="webcontent" adlcp:scormtype="sco" href="content/c01/c01k02sco01.htm">
<file href="content/c01/c01k02sco01.htm" />
</resource>
<resource identifier="resourcec01k02sco02" type="webcontent" adlcp:scormtype="sco" href="content/c01/c01k02sco02.htm">
<file href="content/c01/c01k02sco02.htm" />
</resource>
</resources>
</manifest>
public static string GetXmlValue(string xmlContent, string xmlKey)
{
string xmlValue = "";
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(xmlContent);
XmlNode xnode = xmlDoc.DocumentElement;
foreach (XmlNode node in xnode.ChildNodes)
{
if (node.Attributes[0].Value == xmlKey)
{
xmlValue = node.InnerText;
}
}
return xmlValue;
}