[Petal] [Feature Request] Removing xmlns:petal="" automatically?

Chris Croome chris@webarchitects.co.uk
Tue, 20 Aug 2002 11:45:50 +0100


Hi

I think there should be an option, on by default, for removing the
namespage decleration when parsing templates.

For example a XHTML document might have this in the template to ensure
that the template is valid:

  <html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:petal="http://purl.org/petal/1.0/"
  >

But the generated code has no need for the petal namesapce and should
look like this:

  <html
      xmlns="http://www.w3.org/1999/xhtml"
  >

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/