Languages: Java, .NET
Interface: Win, Web
This new method allows you to apply XSLT to XML in order to obtain a formatted file.
The XSLTApply method receives the XSLT file path, and applies it to a string variable or XML file variable.
&StringVar.XSLTApply( &XsltFileName)
&StringResult = &FileVar.XSLTApply( &XsltFileName)
Or like a function
&StringVar=Xsltapply(&XML,&XsltFileName)
In Windows Java, it only works with the Sun VM.
The method &StringVar.XSLTApply( &XsltFileName) destroys the old content of &StringVar.
This behavior can change in the next upgrades.
Sample KB to download
Attachment (Basic sample)
Attachment (Web sample, returning html in response)
Attachment (xml y xsl 2.0)