locate() doesn't work

Daniel Naber daniel.naber at t-online.de
Tue Jul 16 00:13:10 BST 2002


On Monday 15 July 2002 23:22, Simon Hausmann wrote:

> >       catalogs += locate( "dtd", "docbook/xml-dtd-4.1.2/docbook.cat"
> > );
> >
> > While it works there, in my code (a Kate plugin) it only returns two
> > empty strings. How can I make it work in my code, too?
>
> The fillInstance functions in xslt.cpp might be of interest for you :-)

Thanks, that works. However, I'm not so happy about the version number in 
the path name. Can we set a link from docbook/xml-dtd-4.1.2/ to 
docbook/xml-dtd/?

Regards
 Daniel

-- 
http://www.danielnaber.de




More information about the kde-core-devel mailing list