--- doc/homework/xml.html 2001/05/21 03:35:46 1.1
+++ doc/homework/xml.html 2002/05/23 21:17:19 1.4
@@ -20,37 +20,51 @@
Global Variables
-
- Apache::lonxml::debug -
+ $Apache::lonxml::debug - debugging control
-
- Apache::lonxml::pwd -
+ @Apache::lonxml::pwd - path to the directory containing the file currently being processed
-
- Apache::lonxml::outputstack -
+ @Apache::lonxml::outputstack
+ $Apache::lonxml::redirection - these two are used for
+ capturing a subset of the output for later processing, don't
+ touch them directly use &startredirection and &endredirection
-
- Apache::lonxml::redirection -
+ $Apache::lonxml::import - controls whether the
+ <import> tag actually does anything
-
- Apache::lonxml::import -
+ @Apache::lonxml::extlinks - a list of URLs that the
+ user is allowed to look at because of the current resource
+ (images, and links)
-
- Apache::lonxml::extlinks -
+ #Apache::lonxml::metamode - some output is turned off,
+ the meta target wants a specific subset, use <output> to
+ guarentee that the catianed data will be in the parsing output
-
- Apache::lonxml::metamode -
+ #Apache::lonxml::evaluate - controls whether
+ run::evaluate actually derefences variable references
-
- Apache::lonxml::evaluate -
+ %Apache::lonxml::insertlist - data structure for edit
+ mode, determines what tags can go into what other tags
-
- Apache::lonxml::insertlist -
+ @Apache::lonxml::namespace - stores the list of tag
+ namespaces used in the insertlist.tab file that are currently
+ active, used only in edit mode.
-
- Apache::lonxml::namespace -
+ $Apache::lonxml::registered - set to 1 once the remote
+ has been updated to know what resource we are looking at.
-
- Apache::lonxml:: -
+ $Apache::lonxml::request - current Apache request
+ object, or undef
@@ -85,6 +99,12 @@
%Apache::lonxml::insertlist structure of what tags can have
what other tags inside.
+
+ whichuser - returns a list of $symb, $courseid,
+ $domain, $name that is correct for calls to lonnet functions
+ for this setup. Uses form.grade_ parameters, if the user is
+ allowed to mgr in the course
+
Functions Tag Handlers can use
@@ -178,24 +198,29 @@ sub BEGIN {
Style File specific tags
-
- <definetag> -
+ <definetag> - 2 arguments, name name of
+ new tag being defined, if proceeded with a / defining an end
+ tag, required; parms parameters of the new tag, the
+ value of these parameters can be accesed by $parametername.
-
- <render> -
+ <render> - define what the new tag does for a non meta target
-
- <meta> -
+ <meta> - define what the new tag does for a meta target
-
- <tex> / <web> / <latexsource> -
+ <tex> / <web> / <latexsource> -
+ define what a new tag does for a specific no meta target, all
+ data inside a <render> is render to all targets except
+ when surrounded by a specific target tags.
-
Guy Albertelli
-Last modified: Sun May 20 23:34:57 EDT 2001
+Last modified: Thu May 23 17:19:29 EDT 2002