[Petal] [BUG] Self closing tags and whitespace
Chris Croome
chris@webarchitects.co.uk
Thu, 7 Nov 2002 15:57:32 +0000
Hi
I have the following Petal code in a RDF Petal template that is designed to
loop though Redirects:
<dcterms:replaces
rdf:resource="http://example.com/deleted-doc/"
petal:condition="true:document/replaces"
petal:repeat="old_uri document/replaces"
petal:attributes="rdf:resource old_uri"
/>
Produces this as the output:
<dcterms:replaces rdf:resource="http://www.helpisathand.gov.uk/basic/setting-up-your-centre/"></dcterms:replaces><dcterms:replaces rdf:resource="http://www.helpisathand.gov.uk/basic/setting-up/layout-of-your-uk-online-centre/"></dcterms:replaces> ...
The two problems being:
1. These elements should be self-closing and not have closing tags.
2. It would be nice to have some whitespace between the elements or a carriage
return since having dozens on one line is not good for readability!
Chris
--
Chris Croome <chris@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
everything else http://chris.croome.net/