Re: Stripping XML declaration

William McKee <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
> IMHO when putting fragments together Petal should remove them from
> everywhere but the top of documents and perhaps Petal should also
> use them for what they are intended -- character sets... I did raise
> this with Jean-Michel ages and ages ago but it wasn't something that
> interested him...

Hi Chris,

I'm not sure I see why you'd be putting together fragments which would
have XML declarations in them. If you use Metal, it looks to me that you
would be able to define slots inside of your valid XHTML/XML documents
then pull those into your master document without getting the XML
declarations. However, I've only barely begun to try using Metal macros
so may very well not understand what you are trying to accomplish.


William

-- 
Knowmad Services Inc.
http://www.knowmad.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.