this is my.
MCQ.xslt.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="MCQ.xsl"? >
<xsl:styleshe et version="1.0" xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>Student Assignment</h2>...
User Profile
Collapse
-
to: Dormilich ,
mind show me some example how to do the xslt code.
cause im really lost here.
thanks alot.Leave a comment:
-
how to read my data in XML?
- <math>
- <module assignment="1" questionno.="0" >
<question>sd</question>
<choice1>1</choice1>
<choice2>2</choice2>
<choice3>3</choice3>
<choice4>4</choice4>
<correctchoice> Choice 1</correctchoice>
</module>
- <module assignment="1" questionno.="1" >... -
XmlNodeList Choice1 = doc.GetElements ByTagName("choi ce1");
foreach (XmlNode Choice in Choice1)
{
AnsLabel1.Text += Choice.ChildNod es[0].Value;
}
the code for choice and Question is similar.
please help.Leave a comment:
-
just display out on the Label, Questions, Choices.
just display Selective Question only and not all Question under the element <question>. Or Choices <choice1>.
something like that.Leave a comment:
-
-
how to read XML by using GetElementsByTagName
need help here.
here is my XML file.
<kelvin>
<module assignment="1" questionno.="0" >
<question>asd </question>
<choice1>1</choice1>
<choice2>2</choice2>
<choice3>3</choice3>
<choice4>4</choice4>
<correctchoice> Choice 2</correctchoice>
...
No activity results to display
Show More
Leave a comment: