Subject: RE: [xsl] embedded script using VBScript From: "Matthew L. Avizinis" <mla@xxxxxxxxx> Date: Fri, 31 Aug 2001 17:48:46 -0400 |
Thanks anyhow. I've got a pretty good lead on how to do it from someone else in the Xalan-dev group (although not yet tested). If it works, I'll post it here next week. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Chris Bayes Sent: Friday, August 31, 2001 4:49 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] embedded script using VBScript Sorry Mathew I'd only used it with js.jar from mozilla so can't help you. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Matthew L. Avizinis > Sent: 31 August 2001 21:28 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] embedded script using VBScript > > > According to the Xalan2-j website at > http://xml.apache.org/xalan-j/extensions.html#supported-lang, > you can use any language supported by the Bean Scripting > Framework, which includes VBScript. Their description just > seems somewhat vague as to what the "appropriate language > dll's" are and how BSF is supposed to recognize them and > where they're supposed to be located for BSF to utilize them. > thanks, matt a > > > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Chris Bayes > Sent: Friday, August 31, 2001 3:57 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] embedded script using VBScript > > > I think/am sure you can only use vbscript with msxml > > Ciao Chris > > XML/XSL Portal > http://www.bayes.co.uk/xml > > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Matthew L. > > Avizinis > > Sent: 31 August 2001 19:30 > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: [xsl] embedded script using VBScript > > > > > > Hello, > > Examples abound showing how to embed extension functions in XSLT > > files using Java and Javascript. However, there is a dearth of > > information for embedding scripts using VBScript. The > > examples/instructions on the Xalan website are also less than > > informative on the matter. Can anyone show me a clearcut > example how > > to use a VBScript in an extension function and what MS scripting > > engine files are needed (and where to put them) to make it > work with > > Xalan, similar to the example below? > > > > <xalan:component prefix="user" functions="message"> > > <xalan:script lang="javascript"> > > function message (days) { > > var d = new Date(); > > d.setDate(d.getDate() + parseInt(days)); > > return d.toLocaleString(); > > } > > </xalan:script> > > </xalan:component> > > > > The message that Xalan currently spits out when I attempt > to use XSLT > > files which VBScript is: > > > > java.lang.reflect.InvocationTargetException: > > com.ibm.bsf.BSFException: UnsatisfiedLinkError loading > > library:bsfactivescriptengine no bsfactivescriptengine in > > java.library.path > > > > thanks, > > > > Matthew L. Avizinis <mailto:mla@xxxxxxxxx> > > Gleim Publications, Inc. > > 4201 NW 95th Blvd. > > Gainesville, FL 32606 > > (352)-375-0772 ext. 101 > > www.gleim.com <http://www.gleim.com> > > > > ============================================================== > > ========= > > Information in this email and any attachments are confidential, and > > may not be copied or used by anyone other than the addressee, nor > > disclosed to any third party without my permission. There is no > > intention to create any legally binding contract or other > commitment, > > such as marriage, through the use of this email. > > > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > > > > > > > XSL-List info > and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] embedded script using VBS, Chris Bayes | Thread | [xsl] dynamically generating JavaSc, Sebastian Schirmer |
Re: [xsl] Find second character in , Paulo Henrique S. Be | Date | Re: [xsl] Calculate mantissa and ex, Michael Case |
Month |