add require namspace to weblink element, change in current CC schemas
authorgreg gay <ggay@ocad.ca>
Wed, 1 Jun 2011 20:51:18 +0000 (20:51 -0000)
committergreg gay <ggay@ocad.ca>
Wed, 1 Jun 2011 20:51:18 +0000 (20:51 -0000)
docs/mods/_core/imscc/classes/Weblinks.tmpl.php

index b721d88..ddf51c9 100644 (file)
@@ -1,7 +1,8 @@
 <?php echo '<?xml version="1.0" encoding="UTF-8"?>' ?>
-<webLink
-   xmlns="http://www.imsglobal.org/xsd/imswl_v1p0"
+<wl:webLink
+   xmlns:wl="http://www.imsglobal.org/xsd/imswl_v1p0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imswl_v1p0 http://www.imsglobal.org/profile/cc/ccv1p0/derived_schema/domainProfile_5/imswl_v1p0_localised.xsd">
   <title><?php echo $this->title; ?></title>
   <url href="<?php echo $this->url_href; ?>" target="<?php echo $this->url_target; ?>"/>
-</webLink>
+</wl:webLink>
+