[NTLUG:Discuss] How to read a DTD?
Bruce DeGrasse
bdegrasse1 at attbi.com
Wed Apr 3 08:04:08 CST 2002
I have been adding photos/images to OpenOffice and Kword documents in the
last couple of months and have found that the best approach is to backward
engineer a simple situation and then using the DTD as reference material to
understand the changes in the XML source code. Designing inserts from a cold
start appears to me impossible as the DTD's are generally very cryptic. For
instance, I am still having trouble understanding word-wrap in Kword.
I am not familiar with the package you reference but would be glad to take a
look at it.
I have not seen a such a DTD reader but would also like to see one.
Bruce
On Wednesday 03 April 2002 01:10 am, you wrote:
> <html>
> <head>
> </head>
> <body>
> Gang,<br>
> <br>
> I'm using Norman Walsh's slides package to create foils. I'm
> trying<br> to figure out how to include an image on a foil. I've
> stared at things<br> like:<br>
> <br>
> <small><!ELEMENT imagedata EMPTY></small><br>
> <small><!ATTLIST imagedata</small><br>
> <small> %common.attrib;</small><br>
> <small>
> %objectdata.attrib;</small><br> <small>
> width CDATA
> #IMPLIED</small><br> <small>
> depth CDATA
> #IMPLIED</small><br> <small>
> align (left</small><br>
> <small> |right
> </small><br> <small>
> |center) #IMPLIED</small><br>
> <small> scale
> CDATA #IMPLIED</small><br>
> <small> scalefit
> %yesorno.attvals;</small><br> <small>
>
> #IMPLIED</small><br> <small>
> %local.imagedata.attrib;</small><br> <small>
> %imagedata.role.attrib;</small><br>
> <small>></small><br>
> <br>
> until my stack overflowed! Is there any package that reads a DTD<br>
> and presents a readable glossary of elements and their attributes???<br>
> <br>
> Thanks,<br>
> <br>
> Val<br>
> <pre class="moz-signature" cols="$mailwrapcol">--
> Val W. Harris <a class="moz-txt-link-abbreviated"
> href="mailto:vwharris at airmail.net">vwharris at airmail.net</a>
>
> "Become a student of change. It is the only
> thing that will remain constant."
> -Anthony J. D'Angelo
> </pre>
> </body>
> </html>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list