XML

What is PCDATA In XML? | Parsed Character Data in XML

Parsed Character Data,PCDATA in XML: XML parsers are used to parse XML files. All parsers normally also parse the data inside the XML tag elements when the entire XML file is parsed.This parsing is needed since an XML tag element can contain other element tags also.

So PCDATA, the Parsed Character Data is nothing special.

It is the normal data stored in any XML file that will be parsed by an XML parser.

Simply put, PCDATA are data that are always recognized as markup.

For example, See the XML below

Rajeev
565-242-412
812768142

In the above sample While Parsing the XML file,,,565-242-412, 812768142, etc. will be parsed.

That is, not only the element tags, the data inside it also will get parsed.

CDATA (UnParsed Data) IN XML

 

Rajeev

Recent Posts

OWIN Authentication in .NET Core

OWIN (Open Web Interface for .NET) is an interface between web servers and web applications…

1 year ago

Serializing and Deserializing JSON using Jsonconvertor in C#

JSON (JavaScript Object Notation) is a commonly used data exchange format that facilitates data exchange…

1 year ago

What is CAP Theorem? | What is Brewer’s Theorem?

The CAP theorem is also known as Brewer's theorem. What is CAP Theorem? CAP theorem…

1 year ago

SOLID -Basic Software Design Principles

Some of the Key factors that need to consider while architecting or designing a software…

1 year ago

What is Interface Segregation Principle (ISP) in SOLID Design Principles?

The Interface Segregation Principle (ISP) is one of the SOLID principles of object-oriented design. The…

1 year ago

What is Single Responsibility Principle (SRP) in SOLID Design Priciples?

The Single Responsibility Principle (SRP), also known as the Singularity Principle, is a software design…

1 year ago