Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2007, 06:38 AM
Authorized User
 
Join Date: May 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat problem with XSLT

Hi. everyone
I’m using Tomcat 4 to deploy my web application. Xalan version 1.0 is used to transform an xml file into xhtml file. The problem is that, tomcat is crashed down since it doesn’t support <xsl:output method="xhtml">.
Any suggestion to sort out this problem?
Please help
Many thanks in advance
 
Old August 28th, 2007, 09:46 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

<xsl:output method="xhtml"/> is a XSLT 2.0 option only - Xalan 1 only support XSLT 1.0. You'll have to choose either html or xml and make sure any other changes required to be xhtml conformant are made manually.

/- Sam Judson -/
 
Old August 30th, 2007, 05:50 AM
Authorized User
 
Join Date: May 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it is ok? but i need to transform my xml file to an XForms file which means i have to use <xsl:output method="xhtml"/>.
any clue?


 
Old August 30th, 2007, 06:06 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I don't know much about Tomcat, but if you 'must' use that particular output value then you'll have to use a XSLT processor that support XSLT 2.0, such as Saxon.

It might be possible to use the html output and just make sure the output conforms to the xhtml standard (e.g. add the correct namespace declarations etc.)

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with tomcat any help? araknee Apache Tomcat 1 June 12th, 2008 07:04 AM
dynamic xslt -> xslt creation namespace problem jkmyoung XSLT 2 July 15th, 2006 12:42 AM
Tomcat Installation Problem RobinR Apache Tomcat 2 June 3rd, 2005 11:46 AM
servlet with tomcat problem... thiNkspAce Apache Tomcat 2 October 23rd, 2004 05:38 AM
Having Problem with Tomcat and/or JDK evenpar JSP Basics 5 July 29th, 2004 10:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.