472,353 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Does XPath text() return CDATA SECTION?

If I have the following XML file,


does /*/text() returns "text"?

- Tak Sze
Jul 20 '05 #1
2 11235
In article <68**************************@posting.google.com >,
Tak Sze <ta*****@tarari.com> wrote:

does /*/text() returns "text"?

Yes. From the point of view of the XPath data model, the
document is identical to <test>text</test>.

-- Richard

Jul 20 '05 #2
In article <68**************************@posting.google.com >,
Tak Sze <ta*****@tarari.com> wrote:
% If I have the following XML file,
% <test><![CDATA[text]]></test>
% does /*/text() returns "text"?


Patrick TJ McPhee
East York Canada
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Nold Fuchs | last post by:
Hi ! I need to isolate some nodes without CDATA inside, the problem is that I can not get an XPATH to differentiate simple text nodes and CDATA...
by: Irvin | last post by:
I am using an xml file to store data. I can get the data out now, but I have a problem with any field that needs text formatting such as bold,...
by: Lawrence Oluyede | last post by:
Is there a way to treat html tags like simple text? I explain myself, if I have a bunch of xml like <content type="application/xhtml+xml"...
by: Chris Fink | last post by:
What is a valid XPath Statement to retrieve the data found within the CDATA tag below? Using the XPath statement "/oid" returns "" <oid><!]></oid>
by: chrisjaycomer | last post by:
I have successfully setup numerous xmlpoke statements within an Nant script but this specific situation I cannot figure out. I am including ...
by: aidy | last post by:
Hi, Is it possible to retrieve CDATA Sections from an XML document? If so, could someone give me a syntax example? Cheers Aidy
by: dotnetnoob | last post by:
i got xml file that have <bac:BACnetDevicesand <bac:BACnetDevicetag how do you make a xpath query with that type of tags this is the query that i...
by: test9991014 | last post by:
While visiting the apple.com page, I noticed an unusual form behavior that seems pretty nice, but looking at the source (below) it is unclear how...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.