Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 77640 invoked from network); 21 Sep 2000 18:37:59 -0000 Received: from palrel1.hp.com (156.153.255.242) by locus.apache.org with SMTP; 21 Sep 2000 18:37:59 -0000 Received: from orion.nsr.hp.com (orion.nsr.hp.com [15.47.171.122]) by palrel1.hp.com (Postfix) with ESMTP id 627D91468; Thu, 21 Sep 2000 11:37:59 -0700 (PDT) Received: (from ovidiu@localhost) by orion.nsr.hp.com (8.9.3/8.9.3/client.cv) id LAA10265; Thu, 21 Sep 2000 11:35:12 -0700 Message-Id: <200009211835.LAA10265@orion.nsr.hp.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0 From: Ovidiu Predescu To: Zvi Cc: cocoon-dev@xml.apache.org Subject: Re: portable usage of extension functions in XSLT? In-Reply-To: Your message of "Thu, 21 Sep 2000 20:51:12 +0200." <39CA589F.AAC9D078@ifrance.com> X-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ X-Image-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ovidiu.tiff X-Face: ?(@Y~qjBA}~8ZMh5gM4{Q{bE_*:sCJ3@Z?{B*Co=J!#8bb~-z?-0._vJjt~MM59!MjxG%>U 5>MW^2-\7~z04buszR^=m^U|m66>FdR@cFwhb;.A(8*D.QmLkK]z,md0'HiOE\pyeiv_PACR+P:Cm. wq_%l':E:q]g-UCc>r&s@BVo'kFN;(\9PF22Myg5w%nUBWQ6MJJ#qL#w>2oxckP'H:\$9F"mxsz]Dg k{1`fTcP'Y$CgGnc^paTV$dzhVX+;(U$;Eb)P<>G)g) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_213081496P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 21 Sep 2000 11:35:12 -0700 Sender: ovidiu@cup.hp.com X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --==_Exmh_213081496P Content-Type: text/plain; charset=us-ascii On Thu, 21 Sep 2000 20:51:12 +0200, Zvi wrote: > the second is better, just write for Xalan, and if somebody will be interested in > other XSLT processor like XT, he/she will port it. > > the 3rd solution is to pass the entire UserAgent capabilities document as > parameter, using . Passing the entire user agent capabilities document as a parameter is in fact a more portable solution than using extension functions. I like this idea, it's great! Passing a parameter is something that happens at the Cocoon level and the syntax in the XSLT stylesheet is always the same, no matter what XSLT processor is used. I may be a little slower but that should be OK. Thanks, Ovidiu -- Ovidiu Predescu http://orion.nsr.hp.com/ (inside HP's firewall only) http://www.geocities.com/SiliconValley/Monitor/7464/ --==_Exmh_213081496P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: Exmh version 2.2 06/23/2000 iD8DBQE5ylTg1cM8Hy0YC5kRAl6dAKCnAZDsLKgjASPXVqDK+anDuQx9FwCfXbtU G6EfonBXxuSPNzBUA/G52Mc= =OYam -----END PGP SIGNATURE----- --==_Exmh_213081496P--