Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have created the xslt as follows... for one slider..... which is as follows
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:tagsLib="urn:tagsLib" xmlns:BlogLibrary="urn:BlogLibrary" exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets tagsLib BlogLibrary "><xsl:output method="xml" omit-xml-declaration="yes"/><xsl:param name="currentPage"/><xsl:template match="/"> <!-- start writing XSLT <xsl:variable name="sliderNode" select="$currentPage/parent::*/child::*[@level=1]"/>--> <xsl:variable name="sliderNode" select="$currentPage/ancestor-or-self::root/*[@nodeName='estrosliderforhome']"/> <div class="peKenBurns" data-logo="disabled" > <xsl:for-each select="$sliderNode/child::estro"> <div data-delay="5" data-thumb="{thumb}"> <img src="images/blank.png" data-src="{umbracoFile}" alt="Banner Image 1" /> <h1><xsl:value-of select="teaserText" disable-output-escaping="yes"/></h1> </div> </xsl:for-each> </div></xsl:template></xsl:stylesheet>
But while saving it is showing "Xslt file could not be saved" error. so whats the problem?
Hi,
Don't see any problem with the code, what error message are you getting, is there any detailed error message? Or is it just the speech bubble saying so...
Cheers,
/Dirk
no, there is no detailed error message. but the purpose for which I use this xslt.. shows proper result. .. .so I think i will just save it.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
xslt save error
I have created the xslt as follows... for one slider..... which is as follows
But while saving it is showing "Xslt file could not be saved" error. so whats the problem?
Hi,
Don't see any problem with the code, what error message are you getting, is there any detailed error message? Or is it just the speech bubble saying so...
Cheers,
/Dirk
no, there is no detailed error message. but the purpose for which I use this xslt.. shows proper result. .. .so I think i will just save it.
is working on a reply...