[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: more stylesheet fun



On Wed, Jan 21, 2004 at 04:27:07PM -0800, Paul Heinlein wrote:
> Try running the stylesheet below for an all-in-one look at
> install-time (or yum-time) package groups.

  Heh, if there is one list where I didn't expect to see XSLT code
it's rpm-list ... 

> Sample output: http://www.cse.ogi.edu/~heinlein/comps.html
> 
> If you save the stylesheet as, say, comps2html.xsl, then invocation is
> simple:
> 
>   xsltproc -o comps.html --novalid comps2html.xsl comps.xml

  Hum, I assume --novalid is generated because the DOCTYPE for
comps.xml cannot be found, maybe the comps package should also install
a DTD and register it through "-//Red Hat, Inc.//DTD Comps info//EN"
in the XML catalog.
 
  One possible improvement for the stylesheet would be to take a language
parameter and generate the page in said language if found in the xml:lang
informations...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]