[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: msxml and perlscript

Subject: Re: msxml and perlscript
From: Conor Ryan <cryan@xxxxxxx>
Date: Wed, 11 Feb 2004 15:00:33 +0000
msxsl script perlscript
Hi,

Not sure if anyone else has responded but the stylesheet below produces the
following output using MSXML3

OUTPUT:
hi from perl

XSLT:
<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:perl="urn:extra-functions"
>
<msxsl:script language="PerlScript" implements-prefix="perl">
sub test(){
return "hi from perl";
}
</msxsl:script>
<xsl:template match="/">
<xsl:value-of select="perl:test()" />
</xsl:template>
</xsl:stylesheet>

rgds,
Conor.


--------- Conor Ryan, XML Workshop Ltd, 10 Greenmount Industrial Estate, Harolds Cross, Dublin 12, IRELAND. Email: cryan_at_xmlw_dot_ie Phone: +353 1 449 6250; Fax: +353 1 449 6299 Web: http://www.xmlw.ie/ YAWC Online: http://www.yawconline.com/ YAWC Pro: http://www.yawcpro.com/



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


Current Thread
  • msxml and perlscript
    • bry - Thu, 5 Feb 2004 13:33:15 -0500 (EST)
      • <Possible follow-ups>
      • Conor Ryan - Wed, 11 Feb 2004 09:49:25 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.