Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
f62bc092
Commit
f62bc092
authored
Mar 30, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to match reality, e.g. .path. Add TO DO item about
insertStructure.
parent
5a3047a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
lib/python/TAL/README.txt
lib/python/TAL/README.txt
+10
-9
No files found.
lib/python/TAL/README.txt
View file @
f62bc092
TAL - Template Attribute Language
---------------------------------
This is a
prototype
implementation of TAL, the Zope Template Attribute
This is a
n
implementation of TAL, the Zope Template Attribute
Language. For TAL, see the Zope Presentation Templates ZWiki:
http://dev.zope.org/Wikis/DevSite/Projects/ZPT/FrontPage
...
...
@@ -26,14 +26,13 @@ You need:
unless you specify the -n option; this is done so that I don't
accidentally use Python 2.x features.
- Edit the setpath.py script to set the proper module search path; the
variable libPython should be set to the <Zope2>/lib/python directory
that you want to use. (Again, optional.)
- Create a .path file containing proper module search path; it should
point the <Zope2>/lib/python directory that you want to use.
How To Play
-----------
(
If you want to use Zope, don't forget to edit setpath.py
, see above!)
(
Don't forget to edit .path
, see above!)
The script driver.py takes an XML file with TAL markup as argument and
writes the expanded version to standard output. The filename argument
...
...
@@ -86,7 +85,9 @@ TO DO
- Should we preserve case of tags and attribute names in HTML?
- If use-macro fails, it seems to omit the entire macro except for
slots, instead of leaving the existing text alone.
- Create more unittest testcases.
- The implementation of insertStructure is very heavy-handed, and
maybe should be simplified (possibly all it should do is not to
escape <, > and &). It's also possible that the combination of
tal:replace and tal:attributes should not be required to do
attribute replacement on the inserted text -- this would require a
change to the TAL spec though.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment