XlsCompiledTransform using disk files, want to use memory vars. - Forum - OpenEdge Development - Progress Community

XlsCompiledTransform using disk files, want to use memory vars.

 Forum

XlsCompiledTransform using disk files, want to use memory vars.

This question is not answered

Greetings.

I have this piece of code, which applies  xslt transformation to a xml doc, contained on a disk file.  The need is to hurry up things, as workload is growing fast.

xslt = NEW System.Xml.Xsl.XslCompiledTransform().
xslt:Load("XSLTchain.xslt").
xslt:Transform("source.xml", "salt.txt").

First I get all the values and then send them to disk files, just to load them again for the Net component.

I wonder, as I can't read, yet, .NET specs...  Is there a way to use the variables already on memory on the load and transform methods?

TIA.

All Replies
  • Also... will appreciate very much for this: how could I do this, as currently, I drop these commands to a new batch file for every document, then OS-COMMAND NO-CONSOLE that batch file and then pickup the result again to a var to save on db.

    c:\OpenSSL-Win32\bin\openssl dgst -sha1 -out c:\seal.bin -sign c:\key.pem c:\file.xslt
    c:\OpenSSL-Win32\bin\openssl base64 -in c:\seal.bin  -out c:\seal.txt

    (files names are oversimplified)

    Thanks