Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7806627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:35:51+00:00 2026-06-02T02:35:51+00:00

i want to call some substring text that i add in to virable <xsl:variable

  • 0

i want to call some substring text that i add in to virable

<xsl:variable name="substringbreakText">
          <xsl:call-template name="insertBreaks"> 
               <xsl:with-param name="subject" select="substring(PublicProfile/AboutMe,1,550)"/> 
              </xsl:call-template>
    </xsl:variable>

and like go backwords on this text until i get white space or break.
so my point is to return string less then 550 chars but keep it look complate words

exmple:
thats my 550 chars:
“The image you see purports to depict Graham Bverly, Emeritus Professor of Academic Development in the Research Support Unit at Anglia ucla University, UK. He inquires into, and runs workshops on, writing for postgraduates and fellow academics.

But what messages does this portrait suggest to the reader? That Badley poses as an erudite thinker? That he seeks the light of truth? That he leans to the left? That he is, possibly, amused by such pretension? That he is sceptical? Perhaps. For ‘As a man is, so he sees’ (William Bleer).

Eme”

i want to cut the white space and “Eme” or cut the \r\n or
in this string.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:35:52+00:00Added an answer on June 2, 2026 at 2:35 am
    <xsl:value-of select="substring(@Description, 1, 500 + string-length(substring-before(substring(@Description, 501),' ')))" />
    

    this could be changed to match a full stop or whatever to suit your needs 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create some kind of AJAX script or call that continuously will
I want to call some Nt function from ntdll.dll, I'm doing that like this
I want to call a url with passing some parameter and i want to
I want to call subroutines in Perl like: sub temp { ---- some code
Actually I have some MVC3 Applications and I want to call this applications from
I'm getting some very wierd errors. The compiler seems to want to call the
I want to call a webservice from jQuery. How can I do that?
What is equivalent of ScriptManager.RegisterStartUpScript() of Asp.Net in Php? I want to call some
So I have a class A, where I want to call some class B
I want to call some unknown function with adding parameters using getattr function. Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.