Forum Discussion
Sergiy_126245
Nimbostratus
Apr 30, 2013How to extract CDATA with xpath?
I am trying to extract CDATA from my XML with xpath query.
My XML looks like this:
SomeText
.
I created a xpath:
//xml/text()
but it doesn't catch my CDATA. Do you have any idea how to make it work? Thanks.
4 Replies
- Sergiy_126245
Nimbostratus
Sorry, XML was cut off:
My XML looks like this: " SomeText " - Sergiy_126245
Nimbostratus
xml
![CDATA[ SomeText ]]
/xml - Kevin_Stewart
Employee
Are you trying to extract the CDATA using XML_CONTENT_BASED_ROUTING? Can you include a sample of your entire XML message? - Sergiy_126245
Nimbostratus
Yes, I am trying to do XML_CONTENT_BASED_ROUTING
Here is my XMLSomeText
I need to get 'SomeText' to do further proccessing with iRule.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects