Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
cdata
- Page 1
Re: CDATA
Programming
Web Development
14 Years Ago
by svmvishnu
CDATA
is special mean in XML. XML has five special meta … kind of problem we put these kind of data in
CDATA
container.
CDATA
tells parser that following information on it is data…
Re: CDATA
Programming
Web Development
14 Years Ago
by rajarajan2017
…To avoid errors script code can be defined as
CDATA
. Everything inside a
CDATA
section is ignored by the parser. [B]A… with "]]>":[/B>] [CODE]<script<![
CDATA
[ function matchwo(a,b) { if (a < b &… is ignored by the parser. [B]Notes on
CDATA
sections:[/B] A
CDATA
section cannot contain the string "]]>".…
cdata
Programming
Software Development
13 Years Ago
by tadaweb
…wrap all the information inside <description> in
CDATA
[CODE]<xsl:output method="xml" …; encoding="UTF-16" standalone="yes"
cdata
-section-elements="description" />[/CODE] [CODE] … what I get: [CODE]<description><![
CDATA
[Poseta Mersa din material textil:- Se inchide in partea…
CDATA
Programming
Web Development
14 Years Ago
by dhanapal86mca
What is the use of
CDATA
? Explain me with a good example
CDATA in HTML
Programming
Web Development
17 Years Ago
by jianwu_chen
… put some text which will confuse HTML parser inside the
CDATA
section for javascript to access. But seems it won't… get back the original content, in IE it's worse,
CDATA
seems be totally ignored. No way to get the content…;body> <div id="test"><![
CDATA
[Testing Data here]]></div> </body>…
Re: CDATA in HTML
Programming
Web Development
17 Years Ago
by jianwu_chen
… is really ugly. that's why I want to use
CDATA
tag inside the above <DIV> tag to prevent… is not a solution as HTML parser won't interprete
CDATA
correctly for most of browsers, even I use XHTML.
Re: CDATA in HTML
Programming
Web Development
17 Years Ago
by jianwu_chen
thanks for the reply. But maybe you mis-understand my issue. Here my problem is not the javascript code itself. But the java script can't assess the data inside <![[
CDATA
.... ]]
Re: CDATA in HTML
Programming
Web Development
17 Years Ago
by digital-ether
[QUOTE=jianwu_chen;506812]thanks for the reply. But maybe you mis-understand my issue. Here my problem is not the javascript code itself. But the java script can't assess the data inside <![[
CDATA
.... ]][/QUOTE] Test it with XHTML and see if you get anything.
Re: CDATA in HTML
Programming
Web Development
17 Years Ago
by jianwu_chen
… HTML.[/QUOTE] The reason i want to put it in
CDATA
, is that I want to put some template html data…
Re: CDATA in HTML
Programming
Web Development
17 Years Ago
by digital-ether
…=jianwu_chen;508923]The reason i want to put it in
CDATA
, is that I want to put some template html data…
Re: CDATA in HTML
Programming
Web Development
15 Years Ago
by crabos
[CODE] <![
CDATA
[ content goes here ]]> [/CODE]
Cdata in XSL
Programming
Software Development
13 Years Ago
by xsltnewbie
…; </MYOWNTAG1> <MYOWNTAG2> <XML> <![
CDATA
[<root><child1></child1><…; </MYOWNTAG2> I'm having problem in inserting the
CDATA
section.Please help.
Re: Conditional CDATA
Programming
Software Development
15 Years Ago
by xml_looser
…gt; <xsl:value-of select="concat('<![
CDATA
[',.,']]>')"/> </xsl:when> <…gt; <xsl:value-of select="concat('<![
CDATA
[',.,']]>')"/> </xsl:when> <… ]]></item> <item><![
CDATA
[Siegfried & Roy ]]></item> …
Simplexml and CDATA parsing
Programming
Web Development
11 Years Ago
by klemme
…. TEXT TEXT. TEXT TEXT. ]]> <br/> <![
CDATA
[ TEXT TEXT. TEXT TEXT. TEXT TEXT. TEXT TEXT. TEXT TEXT… xml file. if($XML_file = @simplexml_load_file($XML_url)) { $data = str_replace(array('<![
CDATA
[', ']]>'), array('',''), $XML_file->asXML()); } else $data = ''; return $data;…
PHP, XML, CDATA & HTML entities
Programming
Web Development
14 Years Ago
by tomccabe
… </homesCopy> <productsCopy> <banners><![
CDATA
[Lots of <u>text</u> with… </productsCopy> <peopleCopy> <banners><![
CDATA
[Lots of <u>text</u> with… have been able to pull the content out of the
CDATA
field with [CODE]$doc = new DomDocument(); $file = "spice.…
vbscript variable within a CDATA node
Programming
Software Development
17 Years Ago
by tdhughes
…of the db fields has to be contained in a
CDATA
node. This line of code returns data, no errors…quot;html" width="400"><![
CDATA
[<body><p>]]><%=aContent… aContent variable really has to be contained within
CDATA
. [
CDATA
[variable]], not [
CDATA
] variable [
CDATA
]. After much searching, I get the impression…
xml and cdata
Programming
Web Development
15 Years Ago
by elkinsdu
…{ XmlCDataSection cdataSection = childNode as XmlCDataSection;
cData
= cdataSection.Value; } [/code]
cData
now holds: [code] <MORTGAGE_LOAN xmlns…code] XmlDocument cDataDoc = new XmlDocument(); cDataDoc.LoadXml(
cData
); //node is always null here XmlNode node …
Masking Data inside CData
Programming
Software Development
13 Years Ago
by sbutt
…="xml" indent="yes"
cdata
-section-elements="anyway:request k:request k:ForwardRequestResult…;SXF"/> </flights> <![
CDATA
[<CreditCardNumber>123456123</CreditCardNumber>]]> <…fareRequest> That is <CreditCardNumber> inside
CDATA
, the script does not mask the data. Or in…
xml and cdata
Programming
Web Development
12 Years Ago
by KKKKKRTtTT
…; status_code="OK"> <![
CDATA
[<MORTGAGE_LOAN xmlns="http://www.something.com…{ XmlCDataSection cdataSection = childNode as XmlCDataSection;
cData
= cdataSection.Value; } >
cData
now holds: <MORTGAGE_LOAN xmlns="http…
Extract <![CDATA[%s]]> from xml using SAX
Programming
Software Development
11 Years Ago
by otengkwaku
… if(qName.equalsIgnoreCase("![
CDATA
[%s]]")){
cdata
= true; } …length)); link = false; } if(
cdata
){ System.out.println("here");…
Re: Simplexml and CDATA parsing
Programming
Web Development
11 Years Ago
by pritaeas
Am wondering, why you are using SimpleXML if you do nothing with it? You can achieve the above with a file_get_contents. If you use xpath to get the value of body you shouldn't have to replace all the
cdata
tags.
Re: PHP, XML, CDATA & HTML entities
Programming
Web Development
14 Years Ago
by hielo
[QUOTE]. I have been able to pull the content out of the
CDATA
field with[/QUOTE] How do you know which banner you are editing at any given time? I was expecting to see each banner node with a unique id attribute so that when you edit, you would know which node to update. Where's your attempted update code?
Re: Masking Data inside CData
Programming
Software Development
13 Years Ago
by sbutt
CC number is just an example, there could be any other element or set of elements. The main requirement is to take what ever is inside the
CData
and then mask it. The idea is to take the
CData
content, apply masking on it and then put it back in the
CData
.
Re: xml and cdata
Programming
Web Development
15 Years Ago
by apegram
…"" status_code=""OK""> <![
CDATA
[<MORTGAGE_LOAN xmlns=""http://www.something.com/CLF…
Re: Masking Data inside CData
Programming
Software Development
13 Years Ago
by Mike Askew
> text inside a
CDATA
section will be ignored by the parser. w3schools quote. You will have to have the data another way or manipulate it externally to XSLT as in the
CDATA
section if simply wont even be looked at
Re: Masking Data inside CData
Programming
Software Development
13 Years Ago
by Mike Askew
Could you put the
CDATA
credit card number value into a variable and then use that instead of trying to read the node?
Re: Masking Data inside CData
Programming
Software Development
13 Years Ago
by sbutt
…" indent="yes" encoding="utf-8"
cdata
-section-elements="fareRequest" /> <xsl:template match…
Re: Extract <![CDATA[%s]]> from xml using SAX
Programming
Software Development
11 Years Ago
by iamthwee
http://stackoverflow.com/questions/156777/how-to-output-a-
cdata
-section-from-a-sax-xmlhandler
Conditional CDATA
Programming
Software Development
15 Years Ago
by metinh
Hello everyone. I am trying to implement
CDATA
wrapping of values conditionally in XSLT. My requirements are: - …<, >, &, ", ' then it must be wrapped in
CDATA
in the transformed output. - if the value does not contain…of the above characters, it will not be wrapped in
CDATA
- This logic will need to be implemented on many fields…
Re: Conditional CDATA
Programming
Software Development
15 Years Ago
by fpmurphy
… to include these characters if you guard them with <![
CDATA
[ ... ]]. " As I understand it, the OP wants to know… document using XSL and, if found, then add "<![
CDATA
[ ... ]]" guards. A totally different issue than you show in…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC