diff options
Diffstat (limited to 'libexslt/functions.c')
-rw-r--r-- | libexslt/functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexslt/functions.c b/libexslt/functions.c index 4c68cea9..e7bb2f14 100644 --- a/libexslt/functions.c +++ b/libexslt/functions.c @@ -488,6 +488,8 @@ exsltFuncFunctionComp (xsltStylesheetPtr style, xmlNodePtr inst) { } xmlFree(prefix); + xsltParseTemplateContent(style, inst); + /* * Create function data */ @@ -499,8 +501,6 @@ exsltFuncFunctionComp (xsltStylesheetPtr style, xmlNodePtr inst) { func->nargs++; } - xsltParseTemplateContent(style, inst); - /* * Register the function data such that it can be retrieved * by exslFuncFunctionFunction |