Re: more stylesheet fun

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

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux