On Mon, 19 Mar 2001, Paul Batozech wrote:
> Steven Peck wrote:
[...]
> > Worse than slaughtering HTML, different. With HTML you say BOLD or ITALICS
> > or CENTER, etc. With Docbook you don't. You say <emphasis>words</emphasis>
> > and the DTD when fed through Openjade with determine HOW the emphasis is
> > handled. In HTML it might be BOLDed, in PDF it might be italisiced,
> > whatever the DTD rules said.
> >
> > One other guy whom I started corisponding with is in the same boat. I may
> > do a 'cross' over guide for what I have learned int he last month. I also
> > have O'Reilly's Learning XML book.
> >
> > Near as I can figure, a DTD is an instruction set for how 'tagged' text is
> > expected to be handled when it is converted to a format. ie. <para>words
> > here</para>
No, a DTD describes what tags are allowable and what values attributes may
take on and in what order the tags may appear. Thus, a DTD says that
<para><chapter></chapter></para> is invalid. It says nothing about how
the information content is to be rendered.
XSLT is the up-and-coming way to specify the transformation of an XML
document from one form into another (including HTML).
> > If you render that in HTML, then it will behave one way, but if you have it
> > render into PDF or RTF format, then the DTD determines 'how' that will look
> > in that form. You can write your own DTD's, but I figure the experts have
> > one they agree on, so I will use it.
> >
> > You also have to have to run it through a third party (openjade in this
> > case) engine to do the conversion, if the engine thinks your document
> > (source code) has problems, then it will puke and give you a line number to
> > check. I have to figure out how to do the that step in a few days when I am
> > done. Evidently, there can be no errors.
> >
> > Now, what I have done, is downloaded the XML source for the LDP's Authors
> > Guide and I am using that as a template for my how to. Simple eh?
"Plagiarize... don't let it evade your eyes..." :)
[...]
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live Go...
Work:<[EMAIL PROTECTED]> Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...2k
---------------------------------------------------------------------------
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel