Hi Bartlomiej,
sorry for the delay; this message is from the XML parser and means that 
there are some more elements outside the document element. Maybe you 
have several elements at the top level in your XML file? If not, please 
send the files in full.

Tom

Bartlomiej Papierski wrote:

> Hello,
> 
> I'm using AxKit-1.1 with Sablotron-0.50.
> 
> I have xml file:
> 
> <?xml version="1.0" encoding="iso-8859-2"?>
> <?xml-stylesheet href="db.xps" type="application/x-xpathscript"?>
> <?xml-stylesheet href="aplikom.xsl" type="text/xsl"?>
> 
> <page>
>    <params/>
> 
> .............
> 
> 
> aplikom.xsl goes like this:
> 
> <?xml version="1.0" encoding="iso-8859-2"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="html" encoding="iso-8859-2"/>
> 
> <xsl:template match="page">
> 
> 
> 
> Sablotron returns the following error:
> 
> [Thu Dec 21 15:59:34 2000] [error] [client 212.244.39.65] [AxKit]
> [Sablotron] [2] Error: msgtype:error :: code:2 :: module:Sablotron ::
> URI:arg:/xml_resource :: line:3 :: msg:XML parser error 9: junk after
> document element
> 
> 
> The error is caused by the following line in xml file:
> <?xml-stylesheet href="aplikom.xsl" type="text/xsl"?>
> 
> I found on AxKit maillist that it's possible to parse xml file with xps
> stylesheet and then with xsl stylesheet.
> 
> Have you got similar problem with 'junk after document element'?
> 
> 
> _/ _/ _/  Bartlomiej Papierski      |  A T R I X  -  Internet Solutions
> _/ _/ _/  http://www.atrix.com.pl/  |  90-418 Lodz, al. Kosciuszki 1
> _/ _/ _/  [EMAIL PROTECTED]  |  tel./fax (42) 631.11.66
> _/ _/ _/  [EMAIL PROTECTED]       |  mobile (501) 759.727
> 
> 
> 
> 
> 
> 


Reply via email to