It is possible to work on XML languages currently not supported by Quanta Plus by creating a DTEP package. But the creation can be time consuming, as you may need to write hundreds of tag files in tagXML format. Of course, there is a nicer way to go, by converting the DTD automatically into a DTEP package.
The conversion can be started from the -> menu. Select the .dtd
file which defines the DTD you want to use, and after that you will see the following dialog:
The entries are:
Target directory name:the newly created DTEP will go under this name to the
folder.
$TDEHOME
/share/apps/quanta/dtep
Name:the name (definition string) of the DTD
Nickname: the user visible name of the DTEP
!DOCTYPE definition line: the string that should appear in the !DOCTYPE tag, like HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
DTD URL: the URL pointing to the DTD file
Default extension: the extension usually used for files that were written in this DTD
Case-sensitive tags and attributes: self explaining, usually true for XML language variants
Fine-tune the DTEP after conversion: if checked, after the conversion is done, Quanta Plus will bring up the description.rc editor, so you can fine tune the newly created DTEP. It is recommended to leave this options checked.
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team