[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Batch_Creation.tex

raeburn raeburn at source.lon-capa.org
Thu Aug 18 09:50:30 EDT 2016


raeburn		Thu Aug 18 13:50:30 2016 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Batch_Creation.tex 
  Log:
  - Use verbatim for display of example XML. 
  
  
Index: loncom/html/adm/help/tex/Batch_Creation.tex
diff -u loncom/html/adm/help/tex/Batch_Creation.tex:1.5 loncom/html/adm/help/tex/Batch_Creation.tex:1.6
--- loncom/html/adm/help/tex/Batch_Creation.tex:1.5	Wed Aug 17 23:14:01 2016
+++ loncom/html/adm/help/tex/Batch_Creation.tex	Thu Aug 18 13:50:30 2016
@@ -6,198 +6,104 @@
 
 
 \paragraph{Example of XML for a single course}
+\begin{verbatim}
 
-<?xml version=\char`\"{}1.0\char`\"{} encoding=\char`\"{}UTF-8\char`\"{}?>
-
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE text>
-
-<class id=\char`\"{}ss05ubw101\char`\"{}>
-
+<class id="ss05ubw101">
 <title>Underwater Basket Weaving</title>
-
 <crstype>Course</crstype>
-
 <coursecode>ss05ubw101</coursecode>
-
 <coursehome>msul1</coursehome>
-
 <coursedomain>msu</coursedomain>
-
 <reshome>/res/msu/</reshome>
-
-<optional\_id></optional\_id>
-
+<optional_id></optional_id>
 <adds>1</adds>
-
 <drops>1</drops>
-
 <enrollstart>2005:01:04:10:30</enrollstart>
-
 <enrollend>2005:07:04:20:30</enrollend>
-
 <accessstart>2005:01:10:10:30</accessstart>
-
 <accessend>2005:05:31:10:30</accessend>
-
 <authentication>
-
 <method>krb4</method>
-
 <param>MSU.EDU</param>
-
 </authentication>
-
 <nonstandard></nonstandard>
-
 <topmap></topmap>
-
 <firstres>nav</firstres>
-
 <crsquota>20</crsquota>
-
 <clonecrs>466011437c34194msul1</clonecrs>
-
 <clonedom>msu</clonedom>
-
 <datemode>shift</datemode>
-
 <dateshift>365</dateshift>
-
 <showphotos></showphotos>
-
 <setpolicy>1</setpolicy>
-
 <setcontent>1</setcontent>
-
 <setkeys>0</setkeys>
-
 <keyauth>keyadmin at msu</keyauth>
-
 <disresdis>1</disresdis>
-
 <disablechat>1</disablechat>
-
 <openall></openall>
-
-<notify\_dc>1</notify\_dc>
-
-<notify\_owner>1</notify\_owner>
-
+<notify_dc>1</notify_dc>
+<notify_owner>1</notify_owner>
 <owner>
-
 <username>sparty</username>
-
 <domain>msu</domain>
-
 <authtype>krb4</authtype>
-
 <autharg>MSU.EDU</autharg>
-
 </owner>
-
 <sections>
-
 <section>
-
 <inst>001</inst>
-
 <loncapa>1</loncapa>
-
 </section>
-
 <section>
-
 <inst>002</inst>
-
-<loncapa>2</loncapa>
-
 </section>
-
 </sections>
-
 <crosslists>
-
 <xlist>
-
 <inst>ss05zzz101001</inst>
-
 <loncapa>1</loncapa>
-
 </xlist>
-
 </crosslists>
-
 <users>
-
 <user>
-
 <username>sparty</username>
-
 <domain>msu</domain>
-
 <email>sparty at msu.edu</email>
-
 <authtype>krb4</authtype>
-
 <autharg></autharg>
-
 <firstname>MSU</firstname>
-
 <generation></generation>
-
-<lastname>Spartan</lastname>x
-
+<lastname>Spartan</lastname>
 <middlename></middlename>
-
 <studentID></studentID>
-
 <roles></roles>
-
 </user>
-
 <user>
-
 <username>itds0001</username>
-
 <domain>northwood5</domain>
-
 <email>itds0001 at msu.edu</email>
-
 <authtype>internal</authtype>
-
 <autharg></autharg>
-
 <firstname>Info</firstname>
-
 <generation></generation>
-
 <lastname>Techc</lastname>x
-
 <middlename></middlename>
-
 <studentID></studentID>
-
 <roles>
-
-<role id='in'>
-
+<role id="in">
 <start>2005:01:01:12:10</start>
-
 <end>2005:12:01:12:10</end>
-
 <usec>1</usec>
-
 <usec>2</usec>
-
 </role>
-
 </roles>
-
 </user>
-
 </users>
-
 </class>
+\end{verbatim}
 
 Many of these are binary options (corresponding to either checkboxes
 or radio buttons in the interactive {}``Create Course'' page). 
@@ -206,14 +112,14 @@
 openall. 
 
 A value of 1 between opening and closing tags is equivalent to a checked
-checkbox or 'Yes' response in the original interactive {}``Create
+checkbox or `Yes' response in the original interactive ``Create
 Course'' web page. 
 
 A value of 0 or blank is equivalent to an unchecked box or 'No' response. 
 
 Dates are in the format YYYY:MM:DD:HH:MM:SS (:separators required)
 
-firstres can be nav, syl, or blank for \char`\"{}Navigate Contents\char`\"{},
+firstres can be nav, syl, or blank for ``Navigate Contents'',
 Syllabus, or no entry respectively. 
 
 crstype is currently one of Course, Community or Placement




More information about the LON-CAPA-cvs mailing list