Chapter 20: Data Translators - MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Table of Contents

Advertisement

CHAPTER 20
Data Translators
Data translators translate specialized markup—server-side includes, conditional JavaScript
statements, or other code such as PHP3, JSP, CFML, or ASP—into code that Macromedia
Dreamweaver 8 can read and display. In Dreamweaver, you can translate attributes within tags
as well as entire tags or blocks of code. All data translators—block/tag or attribute—are
HTML files.
Translated tags or blocks of code must be enclosed in locked regions to preserve the original
markup. Translated attributes do not require locks, which makes it simple to inspect the tags
that contain them.
Data translation—especially for entire tags or blocks of code—might involve complex
operations that either cannot be done with JavaScript or that can be done more efficiently
using C. If you are familiar with C or C++, you should also read
Extensibility," on page
457.
The following table lists the files you use to create a data translator:
Path
Configuration/ThirdPartyTags/
Configuration/thirdPartyTags
Configuration/Translators/
File
Description
Contains information about tags in the
language.xml
markup language.
Icon for tags in the language.
language.gif
Contains JavaScript functions for the
language.htm
data translator.
Chapter 21, "C-Level
20
433

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents