Re: Minutes of Gnome 2 release team meeting (late): 2002-05-17



On Mon, 27 May 2002, Daniel Veillard wrote:

> On Mon, May 27, 2002 at 10:48:33PM +0200, Mikael Hallendal wrote:
> > Well, this is not really true. It's libxslt that tries to be smart not
> > Yelp. I am now doing xsltParseStylesheetFile on yelp-customization.xsl,
> > this file includes the xsl-files that is being downloaded over the net. 
> > 
> > I don't really know how to download the stylesheets form yelp and then
> > get them to be used and personally I find the libxml/libxslt headers a
> > mess but I plan to look into this sometime. If there is some way I can
> > ship the stylesheets with yelp I would be happy to do so since we need
> > to have a certain version (1.48) which from what I understand noone
> > ships (Red Hat 7.3 ships 1.49) so it's not really duplication if I just
> > copy the stuff needed into the yelp installation.
> > 
> > Perhaps it is but if it solves all peoples problems I wouldn't have any
> > problems doing so. I think this way of doing it is much better than
> > offer to download and install the stylesheets since the user shouldn't
> > have to be bothered. That way we could just get rid of the entire xml
> > catalog mess.
> > 
> > What do you guys think?
> 
>   That considering the tone of your comments I don't give a fuck.
> Do whatever you want but I don't feel inclined to be helpful in any way.
> 

Relax guys. Daniel should clearly be saying 'UTSL' and 'RTFM' more often,
as people definately aren't doing that. A 2 minute, 1 minute spent on
xmlsoft.org and 1 minute spent looki at libxml source and typing
the following hack[1]

#include <stdio.h>
#include <libxml/xmlmemory.h>
#include <libxml/catalog.h>

main (int argc, char **argv)
{
xmlChar *resource;
resource=xmlCatalogResolve(NULL, "http://docbook.sourceforge.net/release/xsl/1.48/";);
if (!resource)
        printf("no catalog installed\n");
else
        printf("%s", resource);

}

seems to achieve all the hard and impossible things and should give
everybody sufficent ideas as to how to do it in their program.

[1] yes, its a ugly hack. so what.

> 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/



	Sander

	you'll rescue me right?
	in the exact same way that they never did
	i'll be happy right?
	when your healing powers kick in





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