I updated my xslts using the package and then upgraded umbraco 4.0.3 to 4.5.2 and planning to do upgrade till version 6.x. The upgrade completed fine but my xslts are not working. An exmaple of the xslt is below
Thanks for the comment bu that does not make a difference. I had the default setting on for <UseLegacyXmlSchema>false</UseLegacyXmlSchema> as I did not want to use old schema of xslt. Any other ideas? thanks
Thanks for the comment again. It's still not working. I guess the problem might be lying with the upgrade. Please see the content of the ImageFolder in the watch window
Yeah I think you are right the problem could be lying with the upgrade, because in the new XML schema, their is no called node more or data alias. So itcould indicate that something is wrong with the upgrade, or the change to the new XML schema hasenĀ“t being enabled correctly.
new schema of XSLT is not working
I updated my xslts using the package and then upgraded umbraco 4.0.3 to 4.5.2 and planning to do upgrade till version 6.x. The upgrade completed fine but my xslts are not working. An exmaple of the xslt is below
XSLT before upgrade
I have spent lots of time on it and would appreciate any help
I guess the issue is lying on this line $imageFolderContents/Image this is always empty.
Hi Mehtab,
I will try my best to help you to convert the old XSLT to the new XML schema. Maybe something like this will work for you.
/Dennis
Thanks for the comment bu that does not make a difference. I had the default setting on for <UseLegacyXmlSchema>false</UseLegacyXmlSchema> as I did not want to use old schema of xslt. Any other ideas? thanks
Hi Mehtab again,
As I said I will try my best, to help you out solving your problem..
Hope this code is better than the first one.
/Dennis
Thanks for the comment again. It's still not working. I guess the problem might be lying with the upgrade. Please see the content of the ImageFolder in the watch window
Yeah I think you are right the problem could be lying with the upgrade, because in the new XML schema, their is no called node more or data alias. So it could indicate that something is wrong with the upgrade, or the change to the new XML schema hasenĀ“t being enabled correctly.
Maybe a silly question, but have you followed this guide http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/switching-between-old-and-new-schema to switch to the new XML schema?
/Dennis
I have followed all the steps http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/switching-between-old-and-new-schema on this page but still seeing the same unfortunately. Do you have any link for upgrading from 4.0.3 to 4.5.2 with schema upgrade as well. Thanks
Maybe these resources can help you upgrading your Umbraco to 4.5.2
Lee Kelleher has written a upgrade guide where he proposes an upgrade path maybe this could be usefull http://code.leekelleher.com/umbraco/archive/
Other resourses can be http://our.umbraco.org/documentation/Installation/Upgrading/genera or http://our.umbraco.org/documentation/Installation/Upgrading/version-specific but these ones you probably already know.
I think you should upgrade to at least version 4.11.8 of Umbraco because in version 4.5.2 and some versons before and up to version 4.11.8 some security issues have been found, so make sure that you follow the guidlines found in this blogpost at least if you are going to use the version 4.5.2 http://umbraco.com/follow-us/blog-archive/2013/5/1/security-update-two-major-vulnerabilities-found.aspx
/Dennis
is working on a reply...