xsl:import is working fine

>From: "Beat De Martin" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: xsl:include not allowed ?
>Date: Mon, 26 Nov 2001 09:09:06
>


Get your FREE download of MSN Explorer at http://explorer.msn.com
--- Begin Message ---

Thank you Jörg

I had it on a wrong position (inside a template match). There's no more compiling error but the include itself doesn't seem to work. I'll try import.

In the sitemap I have the foolwing for the include file:

 <map:match pattern="nav_tabs.xsl">
    <map:read src="resources/include/nav_tabs.xsl" mime-type="text/xml"/>
   </map:match>

 

Cheers

Beat

 



 

>From: Jörg Heinicke <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: xsl:include not allowed ?
>Date: Fri, 23 Nov 2001 18:48:40 +0100
>
>Without the stylesheets it's very difficult. You have the
>xsl:include on a
>wrong position - or it's a bug from Xalan.
>
>example for wrong position:
>
>
> test
>
>
>Here xsl:text is not allowed in this position.
>
>But because of bug in Xalan: Not long ago such an error occured at
>my code
>too. I don't know why. Replacing it with xsl:import worked.
>
>Joerg
>
>Beat De Martin wrote:
>
>>I get the following error
>>
>>javax.xml.transform.TransformerException: xsl:include is not
>>allowed in
>>this position in the stylesheet!
>>
>>Any hints ?
>>
>>Cheers
>>
>>Beat
>
>
>--
>
>System Development
>VIRBUS AG
>Fon +49(0)341-979-7435
>Fax +49(0)341-979-7409
>[EMAIL PROTECTED]
>www.virbus.de
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting.
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>


Get your FREE download of MSN Explorer at http://explorer.msn.com
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --- End Message ---
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to