Jump to content

Alex_2

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Alex_2

  1. Is there a way to loop i.e. perform for-each on specific count/number rather than nodeset?
  2. JAVA is the backend, but the tool here being used is TIBCO which uses XSLT XPATH functions.
  3. Hi, This must be XSLT 1.0 or 2.0, definitely not 3 but I'm able to use the function "For $i in 1 to 5 return $i" and not "For $i in 1 to $length return $i". What could be the issue? Alex
  4. Is it possible to convert a string into an array using XPATH function based without any delimiters? -Alex
  5. I'm trying to break a string into an array based on the length. for Ex: If I have a string of 30 characters, I want to convert into an array of 5 characters each using an xpath function. Is there any way to do this? Also, I noticed in this thread - Creating an incremental count variable in XSLT / XPath when using Xpath for..in..return? that we can use "For" as "For $i in 1 to $length return $i". When I'm trying to use "1 to 5" i.e. constants, xpath is accepting, but when I'm trying to pass a variable " 1 to $length", xpath is not accepting. Please suggest ASAP. Alex
×
×
  • Create New...