-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tembug,
On 2/21/2010 11:43 PM, tembugs tembugs wrote: > But can we define any variable before the import statement in xsl to define > the absolute path in one place than repeating in every location where > needed? Not with <xsl:import>: that element must appear before all other elements in an <xsl:stylesheet>. If you instead use <xsl:include>, you may define <xsl:param> elements and then use those parameters in your paths. WRT relative paths, I have <xsl:import href="foo.xsl" /> in my templates and everything seems to work out fine. I am using Cocoon 2.1.11 and I the XSLT engine is Apache Xalan 2.7.1. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuEFOgACgkQ9CaO5/Lv0PD1xwCfVrAIMsAk3uXXzqeksDw1nfMU tIAAn1saeivSPY96rYI6/7Bh56tU8h6e =g6NC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org