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 Adobe Dreamweaver can read and display. In Adobe 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 .

The following table lists the files you use to create a data translator:

Path

File

Description

Configuration/ThirdPartyTags/

language.xml

Contains information about tags in the markup language.

Configuration/thirdPartyTags

language.gif

Icon for tags in the language.

Configuration/Translators/

language.htm

Contains JavaScript functions for the data translator.