Re: Writing a HOWTO from XML... why so BLEEPING difficult!?
At 13:41 9/28/2003, you wrote: Are you aware that the SGML and XML processes are exactly the same, except when writing XML you just have to obey more specific rules? Oh, really? So now we've got an XML document (which I did before posting this). Now, pretend you're writing a HOWTO in which you want to use the same format as the LDP does, for consistency. With SGML, I run "sgml2html file.sgml" and I'm done. How exactly is it done with XML then? Because I've spent enough time on it that I don't think processing to HTML is "exactly the same" at all... Remember, the point was not "writing XML" but "rendering XML to HTML". -- Rodolfo J. Paiz [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Writing a HOWTO from XML... why so BLEEPING difficult!?
You need to have a DTD or a schema. Then run the file through the parser. That combines the two into the needed output format. Check out the devshed.com article "My first XML Document" it takes XML text output html with only two or three files. -Original Message- From: Jonathan Bartlett [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Re: Writing a HOWTO from XML... why so BLEEPING difficult!? Are you aware that the SGML and XML processes are exactly the same, except when writing XML you just have to obey more specific rules? Jon On Sat, 27 Sep 2003, Rodolfo J. Paiz wrote: > Starting from here: > http://www.tldp.org/ldp/ > > http://mirror.digitalvoodoo.org/ldp/LDP/LDP-Author-Guide/ > > I am trying to write an XML text that will become a Mini-HOWTO. I have read > the whole guide above as well as another solid FOUR HOURS of documentation, > and I have written a bare outline of what will later become a Mini-HOWTO in > XML. However, I'll be damned if I can get any tool I find to render this > XML into HTML or TXT. Now, I have installed the following packages in order > to solve dependencies with linuxdoc-tools: > > [EMAIL PROTECTED] dsssl]# rpm -qa --last | more > linuxdoc-tools-0.9.20-8 Sat 27 Sep 2003 05:36:03 PM CST > tetex-latex-1.0.7-66 Sat 27 Sep 2003 05:35:29 PM CST > netpbm-progs-9.24-10 Sat 27 Sep 2003 05:34:53 PM CST > netpbm-9.24-10Sat 27 Sep 2003 05:34:38 PM CST > tetex-1.0.7-66Sat 27 Sep 2003 05:34:12 PM CST > dialog-0.9b-20020814.2Sat 27 Sep 2003 05:33:27 PM CST > openjade-1.3.1-12 Sat 27 Sep 2003 05:33:11 PM CST > docbook-dtds-1.0-17 Sat 27 Sep 2003 05:32:47 PM CST > libxml2-2.5.4-1 Sat 27 Sep 2003 05:32:39 PM CST > xml-common-0.6.3-14 Sat 27 Sep 2003 05:32:36 PM CST > tetex-fonts-1.0.7-66 Sat 27 Sep 2003 05:32:11 PM CST > libtiff-3.5.7-11 Sat 27 Sep 2003 05:31:28 PM CST > libpng-1.2.2-16 Sat 27 Sep 2003 05:31:25 PM CST > libjpeg-6b-26 Sat 27 Sep 2003 05:31:18 PM CST > sgml-common-0.6.3-14 Sat 27 Sep 2003 09:56:28 AM CST > > However, I find in the LDP Author's Guide a note about a DSSSL by Walsh and > another by the LDP, which seem NOT to be installed with the RPM packages > that I have but which seem to be required. Of course, there is also no note > on where to put them on my system once I get them. I've now spent well over > five hours reading lots and lots of documentation everywhere and nothing > seems to match or make sense. > > This whole "writing an XML text to make a HOWTO" thing just C-A-N-N-O-T be > that hard, I refuse to believe it! Can anyone offer any tips on what I need > to do to get my XML text rendered into HTML or other formats? If not, > tomorrow I'm just going to have to rewrite that mother in SGML, where I can > just use the sgml2html command and be done with it because I am just about > out of patience. > > Sheesh! *grmbl* *grmbl* > > Thanks for any help you can offer. > > > -- > Rodolfo J. Paiz > [EMAIL PROTECTED] > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Writing a HOWTO from XML... why so BLEEPING difficult!?
Are you aware that the SGML and XML processes are exactly the same, except when writing XML you just have to obey more specific rules? Jon On Sat, 27 Sep 2003, Rodolfo J. Paiz wrote: > Starting from here: > http://www.tldp.org/ldp/ > > http://mirror.digitalvoodoo.org/ldp/LDP/LDP-Author-Guide/ > > I am trying to write an XML text that will become a Mini-HOWTO. I have read > the whole guide above as well as another solid FOUR HOURS of documentation, > and I have written a bare outline of what will later become a Mini-HOWTO in > XML. However, I'll be damned if I can get any tool I find to render this > XML into HTML or TXT. Now, I have installed the following packages in order > to solve dependencies with linuxdoc-tools: > > [EMAIL PROTECTED] dsssl]# rpm -qa --last | more > linuxdoc-tools-0.9.20-8 Sat 27 Sep 2003 05:36:03 PM CST > tetex-latex-1.0.7-66 Sat 27 Sep 2003 05:35:29 PM CST > netpbm-progs-9.24-10 Sat 27 Sep 2003 05:34:53 PM CST > netpbm-9.24-10Sat 27 Sep 2003 05:34:38 PM CST > tetex-1.0.7-66Sat 27 Sep 2003 05:34:12 PM CST > dialog-0.9b-20020814.2Sat 27 Sep 2003 05:33:27 PM CST > openjade-1.3.1-12 Sat 27 Sep 2003 05:33:11 PM CST > docbook-dtds-1.0-17 Sat 27 Sep 2003 05:32:47 PM CST > libxml2-2.5.4-1 Sat 27 Sep 2003 05:32:39 PM CST > xml-common-0.6.3-14 Sat 27 Sep 2003 05:32:36 PM CST > tetex-fonts-1.0.7-66 Sat 27 Sep 2003 05:32:11 PM CST > libtiff-3.5.7-11 Sat 27 Sep 2003 05:31:28 PM CST > libpng-1.2.2-16 Sat 27 Sep 2003 05:31:25 PM CST > libjpeg-6b-26 Sat 27 Sep 2003 05:31:18 PM CST > sgml-common-0.6.3-14 Sat 27 Sep 2003 09:56:28 AM CST > > However, I find in the LDP Author's Guide a note about a DSSSL by Walsh and > another by the LDP, which seem NOT to be installed with the RPM packages > that I have but which seem to be required. Of course, there is also no note > on where to put them on my system once I get them. I've now spent well over > five hours reading lots and lots of documentation everywhere and nothing > seems to match or make sense. > > This whole "writing an XML text to make a HOWTO" thing just C-A-N-N-O-T be > that hard, I refuse to believe it! Can anyone offer any tips on what I need > to do to get my XML text rendered into HTML or other formats? If not, > tomorrow I'm just going to have to rewrite that mother in SGML, where I can > just use the sgml2html command and be done with it because I am just about > out of patience. > > Sheesh! *grmbl* *grmbl* > > Thanks for any help you can offer. > > > -- > Rodolfo J. Paiz > [EMAIL PROTECTED] > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Writing a HOWTO from XML... why so BLEEPING difficult!?
Starting from here: http://www.tldp.org/ldp/ http://mirror.digitalvoodoo.org/ldp/LDP/LDP-Author-Guide/ I am trying to write an XML text that will become a Mini-HOWTO. I have read the whole guide above as well as another solid FOUR HOURS of documentation, and I have written a bare outline of what will later become a Mini-HOWTO in XML. However, I'll be damned if I can get any tool I find to render this XML into HTML or TXT. Now, I have installed the following packages in order to solve dependencies with linuxdoc-tools: [EMAIL PROTECTED] dsssl]# rpm -qa --last | more linuxdoc-tools-0.9.20-8 Sat 27 Sep 2003 05:36:03 PM CST tetex-latex-1.0.7-66 Sat 27 Sep 2003 05:35:29 PM CST netpbm-progs-9.24-10 Sat 27 Sep 2003 05:34:53 PM CST netpbm-9.24-10Sat 27 Sep 2003 05:34:38 PM CST tetex-1.0.7-66Sat 27 Sep 2003 05:34:12 PM CST dialog-0.9b-20020814.2Sat 27 Sep 2003 05:33:27 PM CST openjade-1.3.1-12 Sat 27 Sep 2003 05:33:11 PM CST docbook-dtds-1.0-17 Sat 27 Sep 2003 05:32:47 PM CST libxml2-2.5.4-1 Sat 27 Sep 2003 05:32:39 PM CST xml-common-0.6.3-14 Sat 27 Sep 2003 05:32:36 PM CST tetex-fonts-1.0.7-66 Sat 27 Sep 2003 05:32:11 PM CST libtiff-3.5.7-11 Sat 27 Sep 2003 05:31:28 PM CST libpng-1.2.2-16 Sat 27 Sep 2003 05:31:25 PM CST libjpeg-6b-26 Sat 27 Sep 2003 05:31:18 PM CST sgml-common-0.6.3-14 Sat 27 Sep 2003 09:56:28 AM CST However, I find in the LDP Author's Guide a note about a DSSSL by Walsh and another by the LDP, which seem NOT to be installed with the RPM packages that I have but which seem to be required. Of course, there is also no note on where to put them on my system once I get them. I've now spent well over five hours reading lots and lots of documentation everywhere and nothing seems to match or make sense. This whole "writing an XML text to make a HOWTO" thing just C-A-N-N-O-T be that hard, I refuse to believe it! Can anyone offer any tips on what I need to do to get my XML text rendered into HTML or other formats? If not, tomorrow I'm just going to have to rewrite that mother in SGML, where I can just use the sgml2html command and be done with it because I am just about out of patience. Sheesh! *grmbl* *grmbl* Thanks for any help you can offer. -- Rodolfo J. Paiz [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list