ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Function xslt_path

alps::xslt_path — given the name of an XSLT file, return the full path

Synopsis

// In header: <alps/parser/xslt_path.h>


ALPS_DECL std::string xslt_path(const std::string & stylefile);

Description

The default behavior is to just return the file name

If the environment variable ALPS_XSLT_PATH is set, the contents of ALPS_XSLT_PATH are used instead of the default path.

A special case is if http://xml.comp-phys.org/ is used as the value of ALPS_XSLT_PATH. In that case not the string returned points to the version of the XSLT file valid at the time of release of the library. E.g. given the file name "ALPS.xsl" the returned string might be "http://xml.comp-phys.org/2004/10/ALPS.xsl".

Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext