Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-10-2009, 03:27 PM   PM User | #1
ideonexus
New to the CF scene

 
Join Date: Mar 2009
Location: Elizabeth City, NC
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
ideonexus is an unknown quantity at this point
Smile Translating Xpath Output to String

Is it possible to translate or replace the output of an Xpath result? For example, I have the following Xpath query:

Code:
//CompetencyList/Competency/CompetencyAttributeList[not(CompetencyAttribute/Name='ASSET_TYPE_VALUE')]//parent::*/parent::*/Code
I am looking to covert the value of "Code" to some string of my choosing. I've tried doing this with the "translate()" function, but cannot figure out the proper syntax to accomplish it.

Can this even be accomplished?
ideonexus is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:44 PM.


Advertisement
Log in to turn off these ads.