I use the Oxygen component. In the CSS file, I want to access, with an oxy_xpath, data stored in a XML file located in the framework directory.
I can do this with an absolute path :
Code: Select all
element{
content: oxy_xpath('doc("file:/absolute_path/data.xml")//XPATH');
}
Code: Select all
element{
content: oxy_xpath('doc(${frameworksDir})//XPATH');
}
Thank you,
Johann