--- modules/damieng/clean_xml/loncapa.xsd 2015/04/30 20:43:16 1.6 +++ modules/damieng/clean_xml/loncapa.xsd 2015/05/06 20:20:25 1.10 @@ -1057,7 +1057,9 @@ - Query for the selection of an image in a list. + Query for positions on images. + + Each foil must contain a reference to an image, at least one rectangle or polygon specifying the correct region, and a text describing what should be selected. Students have to click on the foil image, and their answer is correct if they clicked inside the correct region. @@ -1347,6 +1349,8 @@ 3. followed by any number of the following two things, separated by semi-colons: (a) a comma-separated list of as many numbers as there are variables, which specifies one sampling point, OR (b) a comma-separated list of as many numbers as there are variables, followed by a colon, followed by another list of as many numbers as there are variables, followed by a #, followed by an integer. + + a) specifies one point to sample. b) specifies a range for each variable, and the system will take as many random samples from that range as the number after the #. @@ -2122,6 +2126,17 @@ + + + Comma-separated list of options: + + - autoez: Auto E,Z stereochemistry + - multipart: Multipart Structures + - nostereo: No stereochemistry + - reaction: Is a reaction + - number: Able to number atoms + + @@ -2135,14 +2150,16 @@ - Starting Molecule + Starting Molecule. + Syntax: JME. - Correct Answer + Correct Answer. + Syntax: SMILES (Simplified Molecular Input Line Entry System). @@ -2272,6 +2289,7 @@ + @@ -2399,7 +2417,8 @@ - Spellcheck for + If this attribute is present, the text the user types is spellchecked when focus leaves the input field. + The value specifies the language in which the spellcheck is performed. @@ -2445,6 +2464,12 @@ + + + If this attribute is present, the text the user types is spellchecked when focus leaves the input field. + The value specifies the language in which the spellcheck is performed. + + @@ -4794,19 +4819,6 @@ - - - - Perl Script Block - - If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored. - - - - - - - @@ -5377,7 +5389,7 @@ - + @@ -5586,64 +5598,72 @@ - + + Perl Script Block or Javascript + + If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored. + The HTML <script> element is used to embed or reference an executable script within an HTML or XHTML document. Scripts without async or defer attributes, as well as inline scripts, are fetched and executed immediately, before the browser continues to parse the page. - - - - - - This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document. script elements with an src attribute specified should not have a script embedded within its tags. - - - - - - - This attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute. This is specified as a MIME type; examples of supported MIME types include text/javascript, text/ecmascript, application/javascript, and application/ecmascript. - - - - - - - Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute’s possible values were never standardized. The type attribute should be used instead. - - - - - - - This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed. Since this feature hasn't yet been implemented by all other major browsers, authors should not assume that the script’s execution will actually be deferred. The defer attribute shouldn't be used on scripts that don't have the src attribute. Since Gecko 1.9.2, the defer attribute is ignored on scripts that don't have the src attribute. However, in Gecko 1.9.1 even inline scripts are deferred if the defer attribute is set. - - - - - - - - - - - - HTML5 only. - Set this Boolean attribute to indicate that the browser should, if possible, execute the script asynchronously. It has no effect on inline scripts (i.e., scripts that don't have the src attribute). - - - - - - - - - - + + + + + + + This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document. script elements with an src attribute specified should not have a script embedded within its tags. + + + + + + + This attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute. This is specified as a MIME type; examples of supported MIME types include text/javascript, text/ecmascript, application/javascript, and application/ecmascript. + + If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored. + + + + + + + Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute’s possible values were never standardized. The type attribute should be used instead. + + + + + + + This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed. Since this feature hasn't yet been implemented by all other major browsers, authors should not assume that the script’s execution will actually be deferred. The defer attribute shouldn't be used on scripts that don't have the src attribute. Since Gecko 1.9.2, the defer attribute is ignored on scripts that don't have the src attribute. However, in Gecko 1.9.1 even inline scripts are deferred if the defer attribute is set. + + + + + + + + + + + + HTML5 only. + Set this Boolean attribute to indicate that the browser should, if possible, execute the script asynchronously. It has no effect on inline scripts (i.e., scripts that don't have the src attribute). + + + + + + + + + + + @@ -6556,14 +6576,60 @@ - - - - - - - + + + + HTML 4 only, Obsolete since HTML5. + + This attribute is required in an anchor defining a target location within a page. A value for name is similar to a value for the id core attribute and should be an alphanumeric identifier unique to the document. Under the HTML 4.01 specification, id and name both can be used with the <a> element as long as they have identical values. + + Usage note: This attribute is obsolete in HTML5, use global attribute id instead. + + + + + + + This was the single required attribute for anchors defining a hypertext source link, but is no longer required in HTML5. Omitting this attribute creates a placeholder link. The href attribute indicates the link target, either a URL or a URL fragment. A URL fragment is a name preceded by a hash mark (#), which specifies an internal target location (an ID) within the current document. URLs are not restricted to Web (HTTP)-based documents. URLs might use any protocol supported by the browser. For example, file, ftp, and mailto work in most user agents. + + Note: You can use the special fragment "top" to create a link back to the top of the page; for example <a href="#top">Return to top</a>. This behavior is specified by HTML5. + + + + + + + This attribute specifies where to display the linked resource. In HTML4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings: + + * _self: Load the response into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified. + * _blank: Load the response into a new unnamed HTML4 window or HTML5 browsing context. + * _parent: Load the response into the HTML4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self. + * _top: In HTML4: Load the response into the full, original window, canceling all other frames. In HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self. + + Use this attribute only if the href attribute is present. + + + + + + + Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. + + + + + + + For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a comma-separated list of link types values. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present. + + + + + + Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout. + + @@ -6581,6 +6647,38 @@ + + + + Attribute specific to LON-CAPA. + Display the href attribute when printing. + + + + + + + + + + + + + + + Attribute specific to LON-CAPA. + Display the name attribute when printing. + + + + + + + + + + +