Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Spring
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Spring 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 March 11th, 2008, 04:58 AM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Archana144
Default How to read XSL from jar present in applications l

i want to include 2nd xsl in 1st xsl
My both xsl are in same package and those are in jar in applications lib directory
then how to make 1st xsl aware of 2nd xsl's path


com/aaa/bbb/FirstXSL.xsl
com/aaa/bbb/SecondXSL.xsl

Both xsl are in following jar and JarContainingXSL.jar is in lib of application

JarContainingXSL.jar
    com/aaa/bbb/FirstXSL.xsl
    com/aaa/bbb/SecondXSL.xsl

FirstXSL.xsl

<xsl:stylesheet>
    <xsl:include href="SecondXSL.xsl"/>
</xsl:stylesheet>


if I use following way then it works ..but i this cant help me

<xsl:include href="jar:file:/E:/ApplicationRoot/WEB-INF/lib/JarContainingXSL.jar!/com/aaa/bbb/SecondXSL.xsl"/>

Do u know any other way?



 
Old March 21st, 2008, 06:49 AM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Archana144
Default

We can read those XSL URIResolver.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read Array using XSL chaitanya_619 XSLT 7 May 28th, 2008 12:29 PM
How to read cdata in xsl gantait XSLT 4 February 26th, 2007 04:34 AM
Read XSL File Neal Excel VBA 1 April 7th, 2006 06:47 AM
Need ldapfilt.jar and ldapjdk.jar minhpx J2EE 0 June 14th, 2005 10:27 PM
Read XML Config File From Within EJB JAR leojhartiv J2EE 0 October 6th, 2003 03:08 PM





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