discuss: Thread: ugly xml


[<<] [<] Page 1 of 1 [>] [>>]
Subject: ugly xml
From: Gerardo Arnaez ####@####.####
Date: 13 May 2004 23:56:04 -0000
Message-Id: <20040513235603.16470.qmail@web20210.mail.yahoo.com>

I just coverted a sgml doc to xml,
when I use xmlto on this new doc, its looks butt ugly
and this is one of my most viewed howto at:

http://mung.net/~dude/howto/Qmail-vpop-qmailadmin-tmda.html

Is there any way to beutify it?

thanks!

G




	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 
Subject: Re: ugly xml
From: Emma Jane Hogbin ####@####.####
Date: 14 May 2004 00:10:41 -0000
Message-Id: <20040514001010.GA1724@smeagol>

On Thu, May 13, 2004 at 04:56:03PM -0700, Gerardo Arnaez wrote:
> http://mung.net/~dude/howto/Qmail-vpop-qmailadmin-tmda.html

Well it depends on what you consider "beautiful" ;) I personally use this
style sheet:
	http://xtrinsic.com/geek/articles/acpi.html
	http://xtrinsic.com/geek/articles/tldp.css

Tille uses this:
	http://tille.soti.org/training/tldp/
	http://tille.soti.org/training/tldp/xml2html.css

Gentoo uses this:
	http://www.gentoo.org/doc/en/distcc.xml
	http://www.gentoo.org/css/main.css

KDE uses this:
	http://i18n.kde.org/doc/markup/index.html
	http://i18n.kde.org/doc/markup/common/kde-default.css

You can add a style sheet to your document by adding this between the
<head> and </head> tags (anywhere in there is fine).
	<link rel="stylesheet" type="text/css" href="filename.css" />

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
Subject: Re: ugly xml
From: David Horton ####@####.####
Date: 14 May 2004 01:08:10 -0000
Message-Id: <40A41BF8.8000203@speakeasy.net>

Gerardo Arnaez wrote:
> I just coverted a sgml doc to xml,
> when I use xmlto on this new doc, its looks butt ugly
> and this is one of my most viewed howto at:
> 
> http://mung.net/~dude/howto/Qmail-vpop-qmailadmin-tmda.html
> 
> Is there any way to beutify it?
> 
> thanks!
> 
> G
> 

You might want to check out the TLDP-XSL stylesheet customizations at: 
http://my.core.com/~dhorton/docbook/tldp-xsl/  Using these stylesheets 
will create documents that look similar to the other TLDP docs and also 
give you the option of using a linked CSS stylesheet to beautify the HTML.

For a sample of the output you can look at: 
http://my.core.com/~dhorton/docbook/tldp-xsl/doc/tldp-xsl-howto.html 
which shows the TLDP-XSL Howto document as transformed by the 
stylesheets.  It also uses a simple CSS as described in the Howto.

Dave

Subject: Re: ugly xml
From: Gerardo Arnaez ####@####.####
Date: 14 May 2004 01:25:31 -0000
Message-Id: <20040514012526.32226.qmail@web20208.mail.yahoo.com>

Emma, you rock!  Thanks.
G


--- Emma Jane Hogbin ####@####.#### wrote:
> On Thu, May 13, 2004 at 04:56:03PM -0700, Gerardo
> Arnaez wrote:
> >
>
http://mung.net/~dude/howto/Qmail-vpop-qmailadmin-tmda.html
> 
> Well it depends on what you consider "beautiful" ;)
> I personally use this
> style sheet:
> 	http://xtrinsic.com/geek/articles/acpi.html
> 	http://xtrinsic.com/geek/articles/tldp.css
> 
> Tille uses this:
> 	http://tille.soti.org/training/tldp/
> 	http://tille.soti.org/training/tldp/xml2html.css
> 
> Gentoo uses this:
> 	http://www.gentoo.org/doc/en/distcc.xml
> 	http://www.gentoo.org/css/main.css
> 
> KDE uses this:
> 	http://i18n.kde.org/doc/markup/index.html
> 
>
http://i18n.kde.org/doc/markup/common/kde-default.css
> 
> You can add a style sheet to your document by adding
> this between the
> <head> and </head> tags (anywhere in there is fine).
> 	<link rel="stylesheet" type="text/css"
> href="filename.css" />
> 
> emma
> 
> -- 
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
> 
> ______________________
> http://lists.tldp.org/
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 
Subject: ugly xml
From: Gerardo Arnaez ####@####.####
Date: 22 May 2004 21:47:44 -0000
Message-Id: <20040522214743.82548.qmail@web20202.mail.yahoo.com>

A little bit ago I asked how to make my html from xml
documents more attractive, I was told to use style
sheets.

So I did use them and they are nice, but i have
googled and can not figure out hwo to include what
style sheet I want to use in my xml so that I dont
have to go each html file and add the .css file
specification

Thanks all

G



	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
Subject: Re: ugly xml
From: David Horton ####@####.####
Date: 23 May 2004 00:16:15 -0000
Message-Id: <40AFED4C.6050707@speakeasy.net>

Gerardo Arnaez wrote:
> A little bit ago I asked how to make my html from xml
> documents more attractive, I was told to use style
> sheets.
> 
> So I did use them and they are nice, but i have
> googled and can not figure out hwo to include what
> style sheet I want to use in my xml so that I dont
> have to go each html file and add the .css file
> specification
> 
> Thanks all
> 
> G
> 

Everything is taken care of for you if you use the TLDP-XSL stylesheets. 
  Each HMTL page will have a <LINK> tag that points to a stylesheet 
called 'style.css'.  All you have to do is rename or symlink your 
favorite CSS stylesheet to style.css.  You can find the latest TLDP-XML 
at http://my.core.com/~dhorton/docbook/tldp-xsl/

Dave
[<<] [<] Page 1 of 1 [>] [>>]


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.