Annotation of loncom/html/adm/help/tex/Authoring_XML_Intro.tex, revision 1.3
1.1 bowersj2 1: \label{Authoring_XML_Intro}
2:
1.3 ! damieng 3: LON-CAPA uses a syntax similar to XML and HTML.
! 4: Here are some basic style guides if you do not know the syntax:
! 5: %NOTE: the _ cannot be copy-pasted from the PDF, it would require using \usepackage[T1]{fontenc}
! 6: \begin{description}
! 7: \item[XML] \texttt{http://www.w3schools.com/xml/xml\_syntax.asp}
! 8: \item[HTML] \texttt{http://www.w3schools.com/html/html5\_syntax.asp}
! 9: \end{description}
1.1 bowersj2 10:
1.3 ! damieng 11: Compared to the XML syntax, the LON-CAPA language does not require a prolog at the beginning, and does not require encoding special characters within script elements.
! 12:
! 13: Compared to the HTML syntax, the LON-CAPA language does not require a DOCTYPE, but requires closing all elements. Problem documents do not use the html and body tags. Aside from that, most HTML elements can be used in LON-CAPA documents.
! 14:
! 15: LON-CAPA uses a very simple subset of the XML syntax and there is a lot you do
1.1 bowersj2 16: \emph{not} need to know, including but not limited to: CDATA, DTDs,
17: namespaces, and stylesheets. If you search for XML resources on the
18: Internet yourself, you do not need to read about those things to learn
1.3 ! damieng 19: how LON-CAPA uses XML/HTML for problems.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>