Thierry,
I guess I am so new to this that I don't
know what you mean by formatting?  I thought
that XML was formatless (if that is a word), in that
the DTD and the style sheets did all the formatting?
This is just about the most simple example I could
come up with that would render *something* in
HTML.  (Besides the quote is special to me.) 
I couldn't get a PDF version to work with any
fop tool...most of the tools didn't work either.
That is the problem.  I would like to use the
same code to generate HTML, PDF, and maybe
another type of output that I could capture for the
book, and show the student/readers the beauty of
XML, write it once display it on many platforms.

tim
1/29/02 5:42:10 AM, Thierry Gounelle <[EMAIL PROTECTED]> 
wrote:

>Hi tim,
>I don't see any formating code in your post, just an xml source file.
>Could you be more precise.
>
>thierry
>
>[EMAIL PROTECTED] wrote:
>
>> Folks,
>> I am writing a textbook on HTML, and want to
>> include a chapter on XML.  I am trying to get the
>> following code (DocBook) to generate a PDF file.
>>  After a LONG struggle I managed to
>> xsltproc to use my XML and get the HTML to
>> render...but the PDF eludes me.  Can y'all see
>> anything wrong with the following code?
>>
>> When it is generated,
>> by someone who knows what he is doing,
>> the block quote stuff just
>> disappears...the cite stuff renders
>> just fine???
>>
>> What I am trying to do is simply show my
>> student/readers how XML can be used.
>> I have spent over 70 hours trying different
>> software to no avail.  Ideas welcome!
>> What I really need is a reliable tool-chain
>> to take XML and generate HTML, PDF,
>> and maybe one other format that I could
>> capture and show the students.
>>
>> Can anyone help?????
>>
>> Thanks in advance!
>>
>> tim
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE article  SYSTEM "./docbookx.dtd">
>> <article>
>> <title>There and Back Again</title>
>> <artheader>
>> <author>
>> <firstname>Bilbo</firstname>
>> <surname>Baggins</surname>
>> </author>
>> <pubdate>Long Ago</pubdate>
>> </artheader>
>> <para>
>> <abbrev>LOTR</abbrev> stands for Lord of the Rings.
>> In this paragaraph we could discuss
>> the intricate details of the construction
>> of a most proper hole in the ground.
>> </para>
>> <bridgehead>Now, a wonderful quote!</bridgehead>
>> <para>
>> <blockquote>
>> There were many paths that lead up into those
>> mountains, and many passes over them.  But most
>> of the paths were cheats and deceptions and
>> lead nowhere or to bad ends; and most of the
>> passes were infested by evil things and
>> dreadful danger.
>> <citation>Page 64 of
>> <citetitle>The Hobbit</citetitle>
>> by J. R. R. Tolkin</citation>
>> </blockquote>
>> </para>
>> </article>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to