Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Liz Morray 3 posts 23 karma points
    Nov 18, 2010 @ 12:19
    Liz Morray
    0

    Error parsing XSLT file - Working on current page, but breaks when new is added

    So the situation is that I have a homepage with a number of microsites (sets of pages) beneath it in the umbraco folder structure. As it is all works well, looks lovely.

    I want to add a new microsite under the homepage (of the same doc type, template etc. as the existing ones). When I create and publish it it returns the "Error parsing XSLT file" in two places as 2 macros using xslt files are used. It also breaks the homepage (it's parent) and causes the same error for it's macro/xslt.

    I've trawled through lots of forum posts about this error, but not found a solution to my problem yet! I have found that if I try to re-save the xslt (no changes) I get the following:

    (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
    at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
    at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results)
    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
    at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
    Any help would be greatly appreciated!
    Thanks,
    Liz
  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 18, 2010 @ 17:24
    Darren Ferguson
    0

    Liz - please post your XSLT - Thanks.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Nov 21, 2010 @ 23:38
    Kim Andersen
    0

    Yeah Liz, as Darren says we need to see your XSLT code to help you. There can be a lot of different problems in your files, so it's impossible to find a solution when we don't know how your code looks.

    /Kim A

Please Sign in or register to post replies

Write your reply to:

Draft