Using XMetaL Author Enterprise 6.0.1.030:
I made a DITA specialization of the "content" topic type, and installed it according to the instructions in the presentation
http://www.slideshare.net/XMetaL/custom-xml-through-dita-specialization-in-xmetal. After restarting XMetaL, I can create a blank XML document based on my specialized DTD, I can insert the root element
pspconcept, and I can insert the child elements
title,
shortdesc, and
pspconbody specified by
pspconcept's content model. So far so good; in plain text view I have:
<?xml version="1.0"?>
<!DOCTYPE pspconcept SYSTEM "C:\Program Files (x86)\Common Files\XMetaL Shared\DITA_OT\MyProject\PspConcept\pspConcept.dtd">
<pspconcept><title><?xm-replace_text Type new title here ?></title><shortdesc></shortdesc><pspconbody></pspconbody></pspconcept>But when, in tags view, I place the cursor between the
pspconbody start and end tags, the valid child element
overview (the only valid child element in this preliminary version of my DTD) does not show up in the Element List pane (neither in the Used tab nor in the All tab); in fact, the Elements List pane is empty. Here is my module:
<!ENTITY % pspconcept "pspconcept">
<!ENTITY % pspconbody "pspconbody">
<!ENTITY % overview "overview">
<!ELEMENT pspconcept ((%title;),(%shortdesc;),(%pspconbody;))>
<!ATTLIST pspconcept id ID #REQUIRED
conref CDATA #IMPLIED
%select-atts;
%localization-atts;
%arch-atts;
outputclass CDATA #IMPLIED
domains CDATA "&included-domains;">
<!ELEMENT pspconbody (%overview;)>
<!ATTLIST pspconcept %global-atts; class CDATA
"- topic/topic concept/concept pspconcept/pspconcept ">
<!ATTLIST pspconbody %global-atts; class CDATA
"- topic/body concept/conbody pspconcept/pspconbody ">
<!ATTLIST overview %global-atts; class CDATA
"- topic/section concept/section pspconcept/overview ">What am I doing wrong?
Thanks,
Larry