[Home] [By Thread] [By Date] [Recent Entries]

Subject: msxml and perlscript
From: bry@xxxxxxxxxx
Date: Thu, 5 Feb 2004 19:33:05 CET
hi, I'm doing some experiments with msxml, 
one of them involves running extension 
functions in multiple microsoft scripting 
compatible languages. 

unfortunately I don't know perl that well. I 
want to have a perl sub return a value, of 
course I tried the following:


<msxsl:script language="PerlScript" 

implements-prefix="perl">
sub test(){
print "hi from perl"
}

</msxsl:script>


but when i try <xsl:value-of 
select="perl:test()"/> it doesn't work, by 
my understanding cause print goes to I/O and 
is thus disabled in the msxml environment.

also, if anyone has any example python 
extension functions for running in msxml 
please let me know. 




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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member