You can run 4.5 and above with the legacy schema, however you will need to check the packages you are using are supported in 4.5 and above, hope this helps.
You can use the legacy code in 4.7 - you just need to change this setting <UseLegacyXmlSchema> in the umbracoSettings.config - it's set to "false" by default. Change i to "true" and go into the content section and right click the "Content" node and select "Republish entire site".
You should now be able to use the legacy code. But be aware that you can't use a mix of the two schemas. It's either one or the other.
I would recommend you to use the new schema since it's easier to work with once you get familiar with it. If you have a lot of XSLT you want to reuse you can convert it to the new schema using Tommy Poulsens XML schema converter here: http://blackpoint.dk/umbraco-workbench/tools/convert-xml-schema-to-45-.aspx
XSLT in 4.7
Hi
Is the XSLT in 4.0 diffrent from 4.7
We have several sites running in 4.0 now I am doing a new web site in 4.7, can I reuse the XSLT macros in 4.0 in the new website 4.7
What API have changed? what is the diffrence between 4.0 and 4.7
Please let me know, and many thanks in advance
Kind Regards
Praveen
Hi Praveen,
Yes, the XML schema changed at 4.5, you can find details here http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/no-more-@nodetypealias
You can run 4.5 and above with the legacy schema, however you will need to check the packages you are using are supported in 4.5 and above, hope this helps.
Rich
Hi Rich, thanks for the quick reply,
Ive had a look at our.umbraco.org/.../no-more-@nodetypealias are these the only changes??
So you are telling me that the 4.0 legacy code will not work in 4.7
Thankn
Praveeb
Hi Praveen
You can use the legacy code in 4.7 - you just need to change this setting <UseLegacyXmlSchema> in the umbracoSettings.config - it's set to "false" by default. Change i to "true" and go into the content section and right click the "Content" node and select "Republish entire site".
You should now be able to use the legacy code. But be aware that you can't use a mix of the two schemas. It's either one or the other.
I would recommend you to use the new schema since it's easier to work with once you get familiar with it. If you have a lot of XSLT you want to reuse you can convert it to the new schema using Tommy Poulsens XML schema converter here: http://blackpoint.dk/umbraco-workbench/tools/convert-xml-schema-to-45-.aspx
Hope this helps
/Jan
Many thanks Jan, XML Schema converter is good,
I have sucessfully upgrade a line of legacy XSLT code to the new version,
are there any other changes apart from the XML Schema?
Kind Regards
is working on a reply...