Guest bnew Posted October 14, 2005 Share Posted October 14, 2005 dear all ... I have an inreresting problem - I 'm trying to get the part of the text, the part should end with dot symbol "." I am trying to use this expression: <xsl:value-of select="substring-before(TEXT, ".") /> but I always get the message Required white space was missing. Error processing resource 'file:///D:/Documentum/Export/112929906875031998357/news_presentation.xsl'. Line 86, Position 54 <p><xsl:value-of select="substring-before(TEXT, ".")"/><xsl:text disable---------------------------------------------------------------^output-escaping="yes"><a href="<%=ss1%><%=request.getContextPath()%></xsl:text><xsl:value-of select="$href_fulldoc"/><xsl:text disable-output-escaping="yes">" > подробнее...</a></xsl:text></p>Can anyone help???? Link to comment Share on other sites More sharing options...
Guest johnnye Posted November 18, 2005 Share Posted November 18, 2005 use single quotes around the fullstop ie '.' dear all ... I have an inreresting problem - I 'm trying to get the part of the text, the part should end with dot symbol "." I am trying to use this expression: <xsl:value-of select="substring-before(TEXT, ".") /> but I always get the message Required white space was missing. Error processing resource 'file:///D:/Documentum/Export/112929906875031998357/news_presentation.xsl'. Line 86, Position 54 <p><xsl:value-of select="substring-before(TEXT, ".")"/><xsl:text disable---------------------------------------------------------------^output-escaping="yes"><a href="<%=ss1%><%=request.getContextPath()%></xsl:text><xsl:value-of select="$href_fulldoc"/><xsl:text disable-output-escaping="yes">" > подробнее...</a></xsl:text></p>Can anyone help????<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now