Skip to main content

I am trying to use xslt transformer.

I externalize my xslt file and trying to give same in connector. i did same as mule soft documentation but it is giving error like :

 

Couldn't find configuration property value for key ${file::xslt/cities.xslt} from properties provider environment properties provider.

 

I have kept xslt folder under project.

1 个回答
  1. 2024年3月12日 23:35

    This is a path issues for loading the XSLT from classpath of Mule 4: use below only if

    Double-check that the path xslt/cities.xslt is correct relative to the project structure and Ensure the xslt folder is a resource folder within your project. If you're using Mule 4, confirm that the file is placed in the src/main/resources directory

     

    For Example

    file should be in src/main/resources/xslt/cities.xslt

    ${file::xslt/cities.xslt}

    or send us how are you using this and where the file was kept

     

    Note: I have checked and it working 100%

     

    Thanks,

    Manish Kumar Yadav

    MuleSoft Forum Moderator

0/9000