Am Die, 2002-04-02 um 22.39 schrieb Joshua Chamas: > 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... > > > 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? >
I wasn't looking at the unless {} in detail... sorry! The problem seems to be that {xslt} is undef in my setup... Now, here is what I did and what happened in detail: content of .htaccess -------------------- PerlSetVar XSLT /var/www/site/intranet.idnt.net/xsl/german.xsl The output directive in the .xslt file is: <xsl:output encoding="iso-8859-1" method="html" version="4.01" media-type="text/html" indent="yes"/> First line of the ASP document: ------------------------------- <?xml version="1.0" encoding="iso-8859-1"?> As long as there are no german characters within the XML document anything worked fine. With german characters the parser returned: XSLT/XML processing error: Entity: line 37: error: Input is not proper UTF-8, indicate encoding ! I wondered about the UTF-8 and the only thing that may be the reason for for that is a missing parser directive. That's why I searched in the source for something that removes the line and this was ParseXMLSubs. Removing the line solved the problem. Now, why is xslt undefined? I will try to get deeper into the code and follow that... or is there something I did wrong? Thanks for your help! -- Marcus ....................................................................... The finest in secure communication technologies: http://www.idnt.net IDNT Integrated Digital Network Technologies Tel. +49 6403 9526 0 Perchstetten 14-16, 35428 Langgoens, Germany Fax. +49 6403 9526 503 ....................................................................... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]