Yeah there are some syntax differences between these two versions. From Umbraco 4.5 and futher version the introduced a new XML schema. So thats way your XSLT code working in your 4.0 version and not in the 4.7.2 version.
You can set, your Umbraco 4.7.2 to run with the old XML schema.
Here is some resources to write XSLT to the new schema
In Umbraco the xml schema changed in 4.5 so your 4.7 xslt will probably work with the new xml schema. The 4.0 site uses the old schema so the xslt needs to be updated to work with the old schema. More info here: http://our.umbraco.org/wiki/reference/xslt/45-xml-schema
XSLT video player macro issue
Hi Guys,
First time posting here, copied an XSLT video player macro from a Umbraco 4.7.2 site into another Umbraco 4.0 site we have.
The macro's are identical but the macro isn't running in 4.0, it produces no HTML or errors with all macro parameters holding values
Are there some syntax differences between these two versions or am i making a mistake.. XSLT isn't my native tongue, I'm more of a Razor guy.
Could someone point me toward the issue?
Thanks,
Sam
:)
Hi Sam,
Yeah there are some syntax differences between these two versions. From Umbraco 4.5 and futher version the introduced a new XML schema. So thats way your XSLT code working in your 4.0 version and not in the 4.7.2 version.
You can set, your Umbraco 4.7.2 to run with the old XML schema.
Here is some resources to write XSLT to the new schema
http://our.umbraco.org/wiki/reference/xslt/45-xml-schema
http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/xslt-examples-updated-to-new-schema
http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/switching-between-old-and-new-schema
I have just tried to rewrite your code from the top of my mind to work with the new schema.
I hope this helps you.
/Dennis
Hello,
In Umbraco the xml schema changed in 4.5 so your 4.7 xslt will probably work with the new xml schema. The 4.0 site uses the old schema so the xslt needs to be updated to work with the old schema. More info here: http://our.umbraco.org/wiki/reference/xslt/45-xml-schema
Jeroen
is working on a reply...