[MKDoc-commit] [Petal] add xmlns:petal and xmlns:metal namespace
declarations
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Thu Jun 23 11:37:32 BST 2005
Log Message:
-----------
[Petal] add xmlns:petal and xmlns:metal namespace declarations (suggested by Kurt Stephens)
Modified Files:
--------------
Petal/lib:
Petal.pm
-------------- next part --------------
Index: Petal.pm
===================================================================
RCS file: /var/spool/cvs/Petal/lib/Petal.pm,v
retrieving revision 1.133
retrieving revision 1.134
diff -Llib/Petal.pm -Llib/Petal.pm -u -r1.133 -r1.134
--- lib/Petal.pm
+++ lib/Petal.pm
@@ -1260,7 +1260,7 @@
File foo.xml
============
- <html>
+ <html xmlns:metal="http://xml.zope.org/namespaces/metal">
<body>
<p metal:define-macro="footer">
(c) Me (r)(tm) (pouet pouet)
@@ -1277,7 +1277,7 @@
File bar.xml
============
- <html>
+ <html xmlns:metal="http://xml.zope.org/namespaces/metal">
<body>
... plenty of content ...
@@ -1299,7 +1299,7 @@
File foo.xml
============
- <html>
+ <html xmlns:metal="http://xml.zope.org/namespaces/metal">
<body>
<p metal:define-macro="footer">
(c) Me (r)(tm) <span metal:define-slot="pouet">(pouet pouet)</span>
@@ -1315,7 +1315,7 @@
File bar.xml
============
- <html>
+ <html xmlns:metal="http://xml.zope.org/namespaces/metal">
<body>
... plenty of content ...
@@ -1345,7 +1345,8 @@
This example templates a sitemap, which on a hierarchically organized site would
be recursive by nature:
- <html>
+ <html xmlns:metal="http://xml.zope.org/namespaces/metal"
+ xmlns:petal="http://purl.org/petal/1.0/">
<body>
<p>Sitemap:</p>
More information about the MKDoc-commit
mailing list