XSLTApply

Unofficial Content

Scope

Languages: Java, .NET
Interface: Win, Web
 

Introduction

This new method allows you to apply XSLT to XML in order to obtain a formatted file.
 

Syntax

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) 

 

Considerations


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 next upgrades.

 

Interesting links

Sample KB to download

Attachment (Basic sample)
Attachment (Web sample, returning html in response)
Attachment (xml y xsl 2.0)