Thanks opengavel, however I'm fairly new to xml/xslt developing and that method doesn't seem to be working for me. If I put the first example in from number 12 (i.e. not the custom function), I get the following error in firefox:
Error during XSLT transformation: An XPath expression was...
Hi there, I'm trying to find a way to ensure a date is in a specific format, however I'm struggling. I want it to be in the format yyyy-mm-dd hh:mm:ss, and if it's not in that format I want to output something generic (for instance, 2000-01-01 00:00:00). I'm trying to do this using xslt. This...
Hello,
I was wondering if someone could help me combine elements within an xml file, giving priority to a specific element depending on the attribute. For instance, the initial file looks like this:
===
<content>
<pages>
<page idl="/index_en" label="Home" position="1" tags=""/>
<page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.