Advertisement
Advertisement
| 02.15.2008 at 10:46AM PST, ID: 23166880 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: |
XML file:
<?xml version="1.0" encoding="UTF-8"?>
<ChunksList>
<chunk>AL-Intro</chunk>
<chunk>AL-Types</chunk>
<chunk>AL-AP1</chunk>
<chunk>AL-ANS1</chunk>
</ChunksList>
-----------------------------------------------------------------
XSLT file:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" media-type="text" omit-xml-declaration="yes"/>
<xsl:template match="ChunksList">
<Lesson>
<xsl:for-each select="chunk">
<xsl:variable name="container"><xsl:value-of select="."/></xsl:variable>
<xsl:variable name="file" select="concat($container,'.xml')"/>
<xsl:apply-templates select="document($file)//text"/>
<!-- until this point everything is working for text element see XML file below-->
<!--for selecting medis: especially image with chunks-->
<xsl:apply-templates select="document($file)//media[@type='gif'] | media[@type='jpg'] | media[@type='GIF'] | media[@type='JPG'] "><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute>
<!-- $fname contains name of img attribute -->
<xsl:variable name="fname">
<!-- Convert 'cd345.gif' into 'CD345.GIF' - -->
<xsl:value-of select="translate(@src, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/></xsl:variable>
<img>
<xsl:attribute name="src"><xsl:value-of select="$fname"/></xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="@alt"/></xsl:attribute>
</img>
<br/>
</xsl:apply-templates>
</xsl:for-each>
</Lesson>
</xsl:template>
</xsl:stylesheet>
----------------------------------------------------------------------
AL-Intro.xml
<?xml version="1.0" encoding="utf-8"?>
<chunk type="text" name="AL-Intro" title="Introduction">
<versionlist>
<version date="2007-09-10">
</version>
</versionlist>
<media type="jpg" title="test" name="germany" src="hannover_rathaus.jpg" caption="test" align="center" copyright="mzm">
</media>
<text>
<p>Adaptive Hypermedia is an alternative to traditional hypermedia systems and aims to overcome these two problems by providing some help and guidance to the users. An adaptive Hypermedia System aims to provide a solution to the problem of disorientation and need to accommodate varied users by being capable of searching for and filtering out the information most relevant to the user's needs, goals and interests .</p>
<p>Adaptive educational hypermedia: counterbalance lack of interpersonal interaction in distance learning - self driven learning as they can act like a personal desktop teacher. .</p>
</text>
<keywords>
<keyword>e-Learning</keyword>
</keywords>
</chunk>
|