Commit 4dcd2644 authored by Amos Latteier's avatar Amos Latteier

Fixed relative links.

parent d88cd0e7
......@@ -27,6 +27,6 @@ metal:define-macro - Define a macro
See Also
"metal:use-macro":metal-use-macro.stx
"metal:use-macro":../metal-use-macro.stx
"metal:define-slot":metal-define-slot.stx
"metal:define-slot":../metal-define-slot.stx
......@@ -33,7 +33,7 @@ metal:define-slot - Define a macro customization point
See Also
"metal:fill-slot":metal-fill-slot.stx
"metal:fill-slot":../metal-fill-slot.stx
......@@ -35,4 +35,4 @@ metal:fill-slot - Customize a macro
See Also
"metal:define-slot":metal-define-slot.stx
"metal:define-slot":../metal-define-slot.stx
......@@ -45,7 +45,7 @@ metal:use-macro - Use a macro
See Also
"metal:define-macro":metal-define-macro.stx
"metal:define-macro":../metal-define-macro.stx
"metal:fill-slot":metal-fill-slot.stx
"metal:fill-slot":../metal-fill-slot.stx
......@@ -2,8 +2,8 @@ METAL Overview
The *Macro Expansion Template Attribute Language* (METAL) standard
is a facility for HTML/XML macro preprocessing. It can be used in
conjunction with or independently of "TAL":tal.stx and
"TALES":tales.stx.
conjunction with or independently of "TAL":../tal.stx and
"TALES":../tales.stx.
Macros provide a way to define a chunk of presentation in one
template, and share it in others, so that changes to the macro are
......@@ -26,33 +26,33 @@ METAL Overview
METAL defines a number of statements:
* "metal:define-macro":metal-define-macro.stx - Define a macro.
* "metal:define-macro":../metal-define-macro.stx - Define a macro.
* "metal:use-macro":metal-use-macro.stx - Use a macro.
* "metal:use-macro":../metal-use-macro.stx - Use a macro.
* "metal:define-slot":metal-define-slot.stx - Define a macro
* "metal:define-slot":../metal-define-slot.stx - Define a macro
customization point.
* "metal:fill-slot":metal-fill-slot.stx - Customize a macro.
* "metal:fill-slot":../metal-fill-slot.stx - Customize a macro.
Although METAL does not define the syntax of expression
non-terminals, leaving that up to the implementation, a canonical
expression syntax for use in METAL arguments is described in
"TALES Specification":tales.stx.
"TALES Specification":../tales.stx.
See Also
"TAL Overview":tal.stx
"TAL Overview":../tal.stx
"TALES Overview":tales.stx
"TALES Overview":../tales.stx
"metal:define-macro":metal-define-macro.stx
"metal:define-macro":../metal-define-macro.stx
"metal:use-macro":metal-use-macro.stx
"metal:use-macro":../metal-use-macro.stx
"metal:define-slot":metal-define-slot.stx
"metal:define-slot":../metal-define-slot.stx
"metal:fill-slot":metal-fill-slot.stx
"metal:fill-slot":../metal-fill-slot.stx
......@@ -31,4 +31,4 @@ tal:content - replace the content of an element
See Also
"'tal:replace'":tal-replace.stx
\ No newline at end of file
"'tal:replace'":../tal-replace.stx
\ No newline at end of file
......@@ -38,4 +38,4 @@ tal:replace - Replace an element
See Also
"'tal:content'":tal-content.stx
\ No newline at end of file
"'tal:content'":../tal-content.stx
\ No newline at end of file
......@@ -30,24 +30,24 @@ TAL Overview
These are the tal statements:
- "tal:attributes":tal-attributes.stx - dynamically change
- "tal:attributes":../tal-attributes.stx - dynamically change
element attributes.
- "tal:define":tal-define.stx - define variables.
- "tal:define":../tal-define.stx - define variables.
- "tal:condition":tal-condition.stx - test conditions.
- "tal:condition":../tal-condition.stx - test conditions.
- "tal:content":tal-content.stx - replace the content of an
- "tal:content":../tal-content.stx - replace the content of an
element.
- "tal:omit-tag":tal-omit-tag.stx - remove an element, leaving
- "tal:omit-tag":../tal-omit-tag.stx - remove an element, leaving
the content of the element.
- "tal:on-error":tal-on-error.stx - handle errors.
- "tal:on-error":../tal-on-error.stx - handle errors.
- "tal:repeat":tal-repeat.stx - repeat an element.
- "tal:repeat":../tal-repeat.stx - repeat an element.
- "tal:replace":tal-replace.stx - replace the content of an
- "tal:replace":../tal-replace.stx - replace the content of an
element and remove the element leaving the content.
Expressions used in statements may return values of any type,
......@@ -100,23 +100,23 @@ TAL Overview
See Also
"TALES Overview":tales.stx
"TALES Overview":../tales.stx
"METAL Overview":metal.stx
"METAL Overview":../metal.stx
"tal:attributes":tal-attributes.stx
"tal:attributes":../tal-attributes.stx
"tal:define":tal-define.stx
"tal:define":../tal-define.stx
"tal:condition":tal-condition.stx
"tal:condition":../tal-condition.stx
"tal:content":tal-content.stx
"tal:content":../tal-content.stx
"tal:omit-tag":tal-omit-tag.stx
"tal:omit-tag":../tal-omit-tag.stx
"tal:on-error":tal-on-error.stx
"tal:on-error":../tal-on-error.stx
"tal:repeat":tal-repeat.stx
"tal:repeat":../tal-repeat.stx
"tal:replace":tal-replace.stx
"tal:replace":../tal-replace.stx
......@@ -44,12 +44,12 @@ TALES Path expressions
Since every path must start with a variable name, you need a set
of starting variables that you can use to find other objects and
values. See the "TALES overview" for a list of built-in
variables. Since variable names are looked up first in locals,
then in globals, then in this list, these names act just like
built-ins in Python; They are always available, but they can be
shadowed by a global or local variable declaration. You can always
access the built-in names explicitly by prefixing them with
values. See the "TALES overview":../tales.stx for a list of
built-in variables. Since variable names are looked up first in
locals, then in globals, then in this list, these names act just
like built-ins in Python; They are always available, but they can
be shadowed by a global or local variable declaration. You can
always access the built-in names explicitly by prefixing them with
*CONTEXTS*. (e.g. CONTEXTS/root, CONTEXTS/nothing, etc).
Examples
......
......@@ -15,7 +15,7 @@ TALES String expressions
expression string is supplied the resulting string is *empty*. The
string can contain variable substitutions of the form '$name' or
'${path}', where 'name' is a variable name, and 'path' is a
"path expression":tales-path.stx.
"path expression":../tales-path.stx.
The escaped string value of the path expression is inserted into
the string. To prevent a '$' from being interpreted this way, it
must be escaped as '$$'.
......
TALES Overview
The *Template Attribute Language Expression Syntax* (TALES) standard
describes expressions that supply "TAL":tal.stx and
"METAL":metal.stx with data. TALES is *one* possible expression
describes expressions that supply "TAL":../tal.stx and
"METAL":../metal.stx with data. TALES is *one* possible expression
syntax for these languages, but they are not bound to this
definition. Similarly, TALES could be used in a context having
nothing to do with TAL or METAL.
......@@ -36,17 +36,17 @@ TALES Overview
These are the TALES expression types supported by Zope:
* "path":tales-path.stx expressions - locate a value by its path.
* "path":../tales-path.stx expressions - locate a value by its path.
* "exists":tales-exists.stx expressions - test whether a path is valid.
* "exists":../tales-exists.stx expressions - test whether a path is valid.
* "nocall":tales-nocall.stx expressions - locate an object by its path.
* "nocall":../tales-nocall.stx expressions - locate an object by its path.
* "not":tales-not.stx expressions - negate an expression
* "not":../tales-not.stx expressions - negate an expression
* "string":tales-string.stx expressions - format a string
* "string":../tales-string.stx expressions - format a string
* "python":tales-python.stx expressions - execute a Python
* "python":../tales-python.stx expressions - execute a Python
expression
Built-in Names
......@@ -97,19 +97,19 @@ TALES Overview
See Also
"TAL Overview":tal.stx
"TAL Overview":../tal.stx
"METAL Overview":metal.stx
"METAL Overview":../metal.stx
"exists":tales-exists.stx expressions
"exists":../tales-exists.stx expressions
"nocall":tales-nocall.stx expressions
"nocall":../tales-nocall.stx expressions
"not":tales-not.stx expressions
"not":../tales-not.stx expressions
"string":tales-string.stx expressions
"string":../tales-string.stx expressions
"path":tales-path.stx expressions
"path":../tales-path.stx expressions
"python":tales-python.stx expressions
"python":../tales-python.stx expressions
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment