]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc
ocaml 3.09 transition
[helm.git] / helm / DEVEL / gdome_xslt / C++ / gdome_xslt / GdomeSmartDOMXSLTStylesheet.cc
index 2bc2ce76f120d222922742676b0298532ed5d157..330f8724e15e1c6b861dd3104a1c406b0d934061 100644 (file)
 #include "config.h"
 
 #include <string>
+#include <cassert>
 
 #include <stdio.h>
 #include <GdomeSmartDOM.hh>
 
 #include "GdomeSmartDOMXSLTStylesheet.hh"
 
-namespace GdomeSmartDOM {
+namespace GdomeSmartDOMExt {
 
   XSLTStylesheet::XSLTStylesheet(const Document& doc)
   {
@@ -51,6 +52,13 @@ namespace GdomeSmartDOM {
       }
   }
 
+  Document
+  XSLTStylesheet::apply(const Document& source) const
+  {
+    std::vector< std::pair<GdomeString,GdomeString> > noParams;
+    return apply(source, noParams);
+  }
+
   Document
   XSLTStylesheet::apply(const Document& source, const std::vector< std::pair<GdomeString,GdomeString> >& params) const
   {