Reading XSLT file

Reading XSLT file

  
Hi,

I'm trying to searilaze XML to Record list through the XML.Xsl_Transform action. To do so i've composed an XSLT file which will transform the XML to Outsystem readable.
My question is simple: How can i distribute this file to the VD and eventually read it (File_ReadText?)

Many thanks,

Dror
Hi Dror,

You can add that file as a resource to your eSpace:



If you are using version 5.0 take a look at About Resources, for previous versions take a look into this post.
Then, to read it, you can use RichMail.HttpGet() or the extension FileSystem

Cheers,
Tiago Simões
Tiago, 

I've used the Omlresources utility to deploy the XSL file, transform the designate XML (Xsl_Transform) and serialized it into the action's output variable (entity typed), using XMLToRecordlist.
All went fine and dandy... However I would like to serialize the XML to Structutre (I have no need to maintain Entity for value which are i.e temporary in scope). Somehow it only works on Entity. Am I missing something or it's by design?

Many thanks,

Dror

Are you using the latest version?
Seems like the latest versions of the XML extension already supports structures.
You can also take a look into this post where that problem was addressed.

Cheers,
Tiago Simões