Marcus Zoller wrote:
> 
> > and it was put there with the idea that XMLSubs could be used
> > to fully render an XML document.  In sample XML hello world type
> > docs, this could work by just ripping the tag out.  I am not
> > saying it should stay but that is why it is there...
> 
> So removing the tag is only required when working with XMLSubs
> in plain HTML documents.I think the term XMLSubs may cause some
> misunderstanding of the functionality behind... it has nothing
> in common with an XML document or any kind of XML processing.
> XMLSubs doesn't require an processing instruction, namespace
> declarations or anything else because it never gets handled
> or validated by an XML parser.
> 

Removing the XML tag would only be relevant when outputting
text/html from an XML source document.  It is my intention that
XMLSubs functionality be able to fully render an XML document
without an XSLT layer or other post processing.

So my suggestion then to accommodate your request is to possibly
look for text/html being set for the $Response->{ContentType}
which is the default, and if that is set, and if not rendering
through Apache::ASP XSLT, then deal with the XML declarations 
accordingly. But I do not know what ContentType you are setting if any,
so don't know if this would work for you.  If you could set
text/xml or some such, then this might be a solution.

> In case of XSL processing the information is required because
> the result of the ASP processing is an XML document that
> must be transformed by the XSLT engine.
> 

Right.  In the case of the XSLT layer in Apache::ASP, the 
XML tag stripping is not done, are you using some other 
XSLT layer post output?

So then what kind of XSLT are you doing that you need
the XML doc served as an XML doc untouched with regards
to the XML declaration & other processing tags ? 

Thanks,

Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to