...

View Full Version : Translating Xpath Output to String



ideonexus
04-10-2009, 03:27 PM
Is it possible to translate or replace the output of an Xpath result? For example, I have the following Xpath query:



//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?:o



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum