Meaningless Drivel is fun!*
The moose likes XML and Related Technologies and the fly likes Substring function not working while setting in data power variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Substring function not working while setting in data power variable" Watch "Substring function not working while setting in data power variable" New topic
Author

Substring function not working while setting in data power variable

Arunkumar Chinnadurai
Ranch Hand

Joined: Dec 15, 2011
Posts: 56


this is my xsl
========




Data power Error ;




In Data power

Service url and URI not setted properly
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

It appears that the problem is something to do with the mysterious "dp:set-variable" element. Which we don't know anything about.

Neither do we know anything about the problem. "Not splitting" isn't helpful, as that leaves an entire universe of things which might be happening instead.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

If you are saying that the substring() function doesn't work, then you should post the value of the $BackendURL variable, the result of the substring() function, and what you thought the result should be.
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 499
    
    3
If you mean xs:string, it should at least be written like this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Substring function not working while setting in data power variable
 
Similar Threads
possible to create dynamically named nodes via xslt?
help with XPTY0019 error
XML value not getting
Changing namespace uri using xslt
Need help with XSLT, modifying XML config files.