diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-10-04 13:21:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-04 13:21:31 -0700 |
commit | f8708e2921d116890fa0bac1d46d3b464ca08218 (patch) | |
tree | 52d7af2c98e2c222da5ca44352e270f2379f1b17 /parse-xml.c | |
parent | ae713763c79afb483afec12d02730e0c5a8af309 (diff) | |
download | subsurface-f8708e2921d116890fa0bac1d46d3b464ca08218.tar.gz |
Use helper function to find xslt folder
This seems much better than the different hard coded and semi-hard coded
paths we had before.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/parse-xml.c b/parse-xml.c index 195eafeb9..66246570f 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -20,6 +20,7 @@ int verbose; static xmlDoc *test_xslt_transforms(xmlDoc *doc, char **error); +char *xslt_path; /* the dive table holds the overall dive list; target table points at * the table we are currently filling */ @@ -1852,9 +1853,6 @@ void parse_xml_exit(void) xmlCleanupParser(); } -/* Maybe we'll want a environment variable that can override this.. */ -static const char *xslt_path = XSLT ":xslt:."; - static xsltStylesheetPtr try_get_stylesheet(const char *path, int len, const char *name) { xsltStylesheetPtr ret; |