<< Chapter < Page Chapter >> Page >

It also has an optional id attribute. If you are using more than one resource for a particular item and need to keep trackof which resource is which, you will want to include an id tag.

The resource tag is an empty tag, which means you must include a slash at the end of the tag.

Example

<resource uri="http://cnx.rice.edu/datasets/dataset1.csv" id="resource1" />

Answer, response, and feedback

How you construct the answer tag, including whether you include an answer tag at all, depends on your item-type. However, in allcases where you have an answer tag, the ID of the answer tag must not contain any commas, as the key tag refers to the answerIDs separated by commas.

Single-response, multiple-response, and ordered-response

To write answer tags for single-response, multiple-response, and ordered-response items:

You will want one answer tag for each response option. Each answer tag has an id, which is referenced by the key tag,below. Preferably, the id tags should have an obvious relation to the response option. For example, if yourresponse options are "London, England;" "Washington, DC;" and "Paris, France" your id attributes could be london,washington, and paris.

Each of your answer tags should contain a response tag and may contain a feedback tag if you wish to provide feedbackspecific to that response (general feedback goes in another tag). The response tag contains the response option, in textor markup, and has no attributes. Be aware that the stylesheets for the Connexions project currently only allowplain text and CNXML (with or without MathML) within response tags. If you use CNXML (with or without MathML) within a QMLtag, the first tag must be a section tag, which may contain any of the tags a CNXML section tag is allowed to contain.

The feedback tag contains feedback to be displayed to the user upon selection of that response option. The feedback may betext or markup. The feedback tag does not have attributes for single-response, multiple-response, or ordered-response items.

Example for a single-response question

<item id="item1" type="single-response"><question>Are bananas a fruit or a vegetable?</question><resource uri="http://bananas.com/banana_dataset1.csv" /><answer id="fruit"><response>A fruit.</response><feedback>Correct!</feedback></answer><answer id="vegetable"><response>A vegetable.</response><feedback>Incorrect.</feedback></answer><hint>Bananas grow on trees.</hint><feedback>Bananas are a fruit.</feedback><key answer="fruit" /></item>

Text-response items

To write answer tags for text-response items: Because text-response items do not have response options, you willhave either have no answer tag (if you are not providing response feedback) or only one answer tag which may containtwo response-specific feedback tags: one for a correct response, one for an incorrect response.

The feedback tag containing the correct feedback should have the attribute correct="yes", and the other should have theattribute correct="no". You may also include a general feedback tag; this is recommended as Connexions does not haveplans to provide response processing for text-response items and at the present time only shows the general feedback forthe user to compare his/her answer with. The content of the feedback tags may be text or markup; be aware that thestylesheets for the Connexions project currently only allow plain text and CNXML (with or without MathML) within questiontags. If you use CNXML (with or without MathML) within a QML tag, the first tag must be a section tag, which may contain any of the tags a CNXML section tag is allowed to contain.

Questions & Answers

where we get a research paper on Nano chemistry....?
Maira Reply
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
Maira Reply
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
Google
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
revolt
da
Application of nanotechnology in medicine
what is variations in raman spectra for nanomaterials
Jyoti Reply
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
Adin
why?
Adin
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play




Source:  OpenStax, Cnxml tutorial. OpenStax CNX. Jul 08, 2009 Download for free at http://cnx.org/content/col10121/1.10
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Cnxml tutorial' conversation and receive update notifications?

Ask