Using the CDATA structure


show more Using the CDATA structure provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS3 Beyond the Basics show less
please wait ...

Using the CDATA structure

Since XML allows you to generate any tag you want, it occasionally will actually try to parse text that you don't intend it to. So I am just going to use our existing code as an example here. Let's say I am in the description of the Blistery Show by Chris Mattia. So maybe we were describing something about the show and we are like 'Chris > Picasso.' The use of this tag is going to cause us a little bit of a problem, because parsing engines could actually interpret that as a piece of a tag which could sort of just ruin all the parsing through the rest of the movie. Now, we can use encoding character. So we could use something like &gt. So you can see, as we start to encode this, Dreamweaver helps us out.

So if you are not 100% certain what the encoding is for the character that you'll need just type in the ampersand symbol. You will get this code hinting that comes up with Dreamweaver and you can go down and find exactly the character you are looking for. So ...

Using the CDATA structure
Video duration: 5m 7s 11h 10m Intermediate

Viewers:

Using the CDATA structure provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS3 Beyond the Basics

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...