Hussein,

Attached find a different dtd and mod file for my syllabus
specialization of a DITA topic.

I discovered that I had incorrectly specified the content for the
courseinfo element, which now consists of the same content as a generic
paragraph.

These files work with the DITA Open Toolkit to produce the HTML
attached.

One thing I noticed when I tried to transform the XML here to HTML using
XXE, was that the XML menu did NOT turn to a DITA menu. Therefore, no
transform was available through XXE.

The DTD DOES work to let you create a syllabus XML file as a DITA
specialization, as it did before.

Joe
-------------- next part --------------
#Sat Sep 16 10:33:55 PDT 2006
user.input.file=foo.ditamap
user.input.dir=C\:\\DITA_syllabus_20060910\\foo
flagimagelist=
fullditamaplist=foo.ditamap
conreflist=
hreftargetslist=foo.xml
fullditatopiclist=foo.xml
fullditamapandtopiclist=foo.ditamap,foo.xml
htmllist=
imagelist=
hrefditatopiclist=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.html
Type: application/xml
Size: 1219 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060916/38aed498/attachment.xpdl
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060916/38aed498/attachment.html
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060916/38aed498/attachment-0001.html
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syllabus.dtd
Type: text/x-dtd
Size: 2126 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060916/38aed498/attachment.dtd
 
-------------- next part --------------
<!ENTITY DTDVersion 'V1.1.3'>
<!ENTITY % syllabusbody "syllabusbody">
<!ENTITY included-domains "">
<!-- SYLLABUS DTD -->
<!ELEMENT syllabus (%title;, (%titlealts;)?, %syllabusbody;, 
(%related-links;)?)>
<!ATTLIST syllabus
        id ID #REQUIRED
        conref CDATA #IMPLIED
        %select-atts; 
        outputclass CDATA #IMPLIED
        xml:lang NMTOKEN #IMPLIED
        DTDVersion CDATA #FIXED "&DTDVersion;"
        domains CDATA "&included-domains;"
>
<!ELEMENT syllabusbody (courseinfo)>
<!ATTLIST syllabusbody
        %id-atts; 
        translate (yes | no) #IMPLIED
        xml:lang NMTOKEN #IMPLIED
        outputclass CDATA #IMPLIED
>
<!ELEMENT courseinfo (%para.cnt;)*>
<!ATTLIST courseinfo
        spectitle CDATA #FIXED "Academic policies"
        %univ-atts; 
        outputclass CDATA #IMPLIED
>
<!-- ================== -->
<!ENTITY % syllabus-info-types 'syllabus'>
<!--specialization attributes-->
<!ATTLIST syllabus
        %global-atts; 
        class CDATA "- topic/topic       syllabus/syllabus "
>
<!ATTLIST syllabusbody
        %global-atts; 
        class CDATA "- topic/body       syllabus/syllabusbody "
>
<!ATTLIST courseinfo
        %global-atts; 
        class CDATA "- topic/p       syllabus/courseinfo "
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060916/38aed498/attachment-0002.html
 

Reply via email to