Skip to main content

It is possible to read a xml and 'style' it with a xslt file. I've read on the forum FME can only read version 1.0 of the xslt-file.

When I try to do this I get an error (creator + xsltprocessor) and i don't know how to fix this/what the error is?

 

Who can help me? :-)

 

Thanks!

 

I've attached an example xml and xslt file + the belonging output (created by the default program...I just want to automate it).

Hi @sprongandre​ - It looks like your xslt file is version 2.0 according to https://www.altova.com/manual/XMLSpy/spyenterprise/fxaltova_chartfunctionssexample.html

 

As you mentioned, FME only supports xslt version 1.0 and as mentioned in this Forums post. And as it mentions there, we are unable to support later version at the moment, sorry!

 

I've created a request for the development team to see if we can provide better messaging in the log instead of an abrupt "Error running translation"xslt 2 error log


Hi @sprongandre​ - It looks like your xslt file is version 2.0 according to https://www.altova.com/manual/XMLSpy/spyenterprise/fxaltova_chartfunctionssexample.html

 

As you mentioned, FME only supports xslt version 1.0 and as mentioned in this Forums post. And as it mentions there, we are unable to support later version at the moment, sorry!

 

I've created a request for the development team to see if we can provide better messaging in the log instead of an abrupt "Error running translation"xslt 2 error log

Hi @nampreetatsafe​ , thanks for your answer! I thought I've received a 1.0 version...not... ;-S

I asked again for a 1.0 version and now I received the right one...I can read it in...but next question>>How can I output it to a pdf as the example in my earlier attachment?

 

In this attachment the xslt_version 1.0-file


Reply