Copied to clipboard

Flag this post as spam?

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


  • Lee 1130 posts 3088 karma points
    Oct 22, 2009 @ 17:43
    Lee
    0

    Creating A Package With Blog4Umbraco

    I have created what I call a 'white site' - Its sort of a mix of CWS, Blog4Umbraco & other things I have added on.  I now want to package this up, so when I start a new site I can load this package and I'm ready to roll.

    Now everything is working fine apart from the Blog4Umbraco - Its having errors loading certain XSLT files, and if I visualise the XSLT I get an error like so

    System.Xml.Xsl.XslTransformException: Cannot find the script or external object that implements prefix 'urn:tagsLib'.
       at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
       at (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.macro.GetXsltTransformResult(XmlDocument macroXML,
    XslCompiledTransform xslt, Dictionary`2 parameters) at
    umbraco.presentation.umbraco.developer.Xslt.xsltVisualize.visualizeDo_Click(Object
    sender, EventArgs e)

    I'm missing this

    urn:tagsLib

    I must have missed this when I packaged everything up, but I have no idea where to find / re-implement it?  Any ideas?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Oct 22, 2009 @ 18:07
    Douglas Robar
    0

    There should either be a 'tags' dll that is used as an xslt extension (look in the /config folder for the xslt extension config file). You'll probably need a Package Action to update the config file automatically.

    cheers,
    doug.

  • Lee 1130 posts 3088 karma points
    Oct 22, 2009 @ 20:14
    Lee
    0

    Ahhh thanks Doug, I downloaded the Blog4Umbraco package and found a reference to a dll in the package.xml :) ...

  • Lee 1130 posts 3088 karma points
    Oct 22, 2009 @ 20:58
    Lee
    0

    Actually I spoke too soon :( ... Its not working... I'll drop you an email Doug ;)

Please Sign in or register to post replies

Write your reply to:

Draft