Subject:Presales question - Will Stylus Studio do the job for me Author:Archie Campbell Date:12 Oct 2006 06:52 PM
I am developing a website using ColdFusion MX 7
Cold Fusion has a function called XmlTransform.
You pass XmlTransform an XML file and an XSLT stylesheet and it produces the output file.
My tasks are to convert data from one format to another:
1. XML to XML (tag names different and attributes sb elements, etc)
2. XML to EDI format
On the website I see that Stylus Studio will do this for me.
My question is:
Will it produce XSLT stylesheets that I can use in my Cold Fusion website?
If it seems like a silly question, fine, most of my questions are when I am learning.
Subject:Presales question - Will Stylus Studio do the job for me Author:Ivan Pedruzzi Date:12 Oct 2006 09:32 PM
Hi Archie,
The answer is yes, Stylus Studio supports authoring of XSLT 1.0 and 2.0 transformations. You will be able to invoke the XSLT 1.0 transformations with the function XMLTransform.
To use the "XML to EDI" convert you will need to call out a java function from CF script.
Subject:Presales question - Will Stylus Studio do the job for me Author:Archie Campbell Date:13 Oct 2006 04:58 AM
Thanks Ivan
My next conversion issue is a situation where:
. the source file has one Name=Value pair per line
eg City=Portland
State=OR
. the destination file is XML
<City>Portland</City>
<State>OR</State>
Am I able to create a .XLS file that I can use in the Cold Fusion XmlTransform function.
I am unsure about:
1. Which situations I will be able to simply use a StylusStudio produced .XLS file in XmlTransform to do my required data conversions, and
2. What it means to have to call a Java function. The site is running on a shared server. Am I able to use existing Java function or do I have to add them to the server - which I might not be allowed to do.