Subject: AW: [xsl] serialize base64 From: "Szabo, Patrick (LNG-VIE)" <patrick.szabo@xxxxxxxxxxxxx> Date: Tue, 17 Mar 2009 10:38:21 +0100 |
Thx...i4ll check that out Cheers ! Patrick Szabo EPD / XSLT Konvertierung Tel.: +43-1-534 52-1573 Fax.: +43-1-534 52-1573 patrick.szabo@xxxxxxxxxxxxx LexisNexis Verlag ARD Orac GmbH & Co KG Marxergasse 25, 1030 Wien FN 8333f, Handelsgericht Wien www.lexisnexis.at -----Urspr|ngliche Nachricht----- Von: Michael Kay [mailto:mike@xxxxxxxxxxxx] Gesendet: Dienstag, 17. Mdrz 2009 10:34 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: RE: [xsl] serialize base64 For Saxon-specific questions it's probably better to use the saxon-help list which you can find via the Saxon project page on sourceforge.net. The command line switch -TJ is useful for diagnosing this kind of problem. As a start, it will help you to distinguish whether the problem is in finding/loading the class, or in finding the matching method. Incidentally, there are extension functions in Saxon to do this kind of thing as well: see http://www.saxonica.com/documentation/extensions/functions/base64binarytostr ing.html It's not strictly necessary, but the form of URI that I recommend is not xmlns:myTest="GLP.Base64DecodeFromXML", but xmlns:myTest="java:GLP.Base64DecodeFromXML". One reason for that is that XML deprecates namespaces that aren't absolute URIs; another is that on .NET, Saxon distinguishes calls to the Java library from calls to the .NET library. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Szabo, Patrick (LNG-VIE) [mailto:patrick.szabo@xxxxxxxxxxxxx] > Sent: 17 March 2009 09:14 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] serialize base64 > > > Hi XSLT-List, > > I4m using XSLT 2.0 and Saxon 9... > > I have an xml file which includes base64-strings. > I want to serialize these strings to PDF-files. I4ve got a java-class > to do that (dind4t write it myself), but i can4t figure out how i > should implement it into my xslt. > > The package that includes the class ist called "GLP" > The class is called "Base64DecodeFromXML" > > What i4ve already done: > > -Set the classpath to R:\Produktion\Tools\JTDS\jtds-1.2.jar; > R:\Produktion\Tools\LexisNexis\GLP.jar > > -Namespace created in my xsl: xmlns:myTest="GLP.Base64DecodeFromXML" > > -calling class in my xsl: <xsl:value-of select="myTest:main($arg1, > $arg2, $arg3)"/> > > It tells me: "Cannot find a mathing 3-argument function named > {GLP.Base64DecodeFromXML}main()" > > I4ve already checked saxonica.com but... > > Help anyone ?! > > cheers > > > Patrick Szabo > EPD / XSLT Konvertierung > Tel.: +43-1-534 52-1573 > Fax.: +43-1-534 52-1573 > patrick.szabo@xxxxxxxxxxxxx > > LexisNexis Verlag ARD Orac GmbH & Co KG Marxergasse 25, 1030 Wien FN > 8333f, Handelsgericht Wien www.lexisnexis.at > <http://www.lexisnexis.at/> > > <file://C:\Dokumente und > Einstellungen\szaboP\Anwendungsdaten\Microsoft\Signatures\LN > Vienna signature-Dateien\image001.jpg>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] serialize base64, Michael Kay | Thread | [xsl] Get value from $Variable, XSL-List |
RE: [xsl] serialize base64, Michael Kay | Date | [xsl] Get value from $Variable, XSL-List |
Month |