Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XPath substring function?

843834Oct 14 2005 — edited Oct 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????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2005
Added on Oct 14 2005
3 comments
131 views