Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XSL extensions to use perl code

From: Brian Chrisman <brian.chrisman@------>
To:
Date: 6/1/2004 2:53:00 AM
The XML::LibXSLT man page has an example of creating a foo:bar() 
function that ties into a perl coderef using the xslt object's 
register_function... The example returns local time.  Also gives an XSLt 
example calling that function.

I haven't used this feature myself... sounds like kind an abomination...



Make sure you use XML::LibXSLT, not XML::XSLT... I'm not clear as to why 
XML::XSLT is distributed, considering it's huge limitations.



gustave loial wrote:



Hello everyone,



I've gone through quite a few treads that hover a
topic I'm interested in, and stuck with :
I need to call perl code during a XSL transformation.
A couple of messages were posted presenting D.
Veillard's libxml as a good candidate. I just couldn't
find a sample to start me up.
Can someone help me ?

Thanks in advance,



Eric
protheee at yahoo d0t com

PS : Why do I want to do that ?
Because the Perl code (that navigates in non-XML
files) is already there and works fine. I just need to
integrate it in the transformation.

PS 2 : Daniel, Si vous voyez ce message, un coup de
pouce est le bienvenu.


	

		

__________________________________

Do you Yahoo!?

Friends.  Fun.  Try the all-new Yahoo! Messenger.

http://messenger.yahoo.com/ 



--+------------------------------------------------------------------

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/

or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>

--+--


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent