]> matita.cs.unibo.it Git - helm.git/commitdiff
* added apply method that takes no parameters
authorLuca Padovani <luca.padovani@unito.it>
Sat, 8 Feb 2003 22:09:57 +0000 (22:09 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Sat, 8 Feb 2003 22:09:57 +0000 (22:09 +0000)
helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc
helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.hh
helm/DEVEL/gdome_xslt/configure.ac

index ab71b0468dc7956e0f00de33412855e93e1f2a9c..9030c0db904f856060ff8769992b3c6150d032f7 100644 (file)
@@ -51,6 +51,13 @@ namespace GdomeSmartDOMExt {
       }
   }
 
+  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
   {
index 4306640dc5603d258c07c626aa29d858b0de1cf8..1757f39a39bfa8d1d7ce583fde98739dae3e915c 100644 (file)
@@ -40,6 +40,7 @@ namespace GdomeSmartDOMExt {
     explicit XSLTStylesheet(const Document& doc);
     ~XSLTStylesheet();
 
+    Document apply(const Document& source) const;
     Document apply(const Document& source, const std::vector< std::pair<GdomeString, GdomeString> >& params) const;
     void     save(const Document& result, const std::string& filename) const;
     void     save(const Document& result, FILE* f) const;
index cc6b8f6e4bd313da7c0b72fc5e57ac1f46c0f9d8..aafc4d193eec05884b517f69ce0ede5e91739b07 100644 (file)
@@ -3,7 +3,7 @@ AC_INIT
 AC_CONFIG_SRCDIR([C/gdome_xslt/gdome_xslt.h])
 
 PACKAGE=gdome2-xslt
-VERSION=0.0.3
+VERSION=0.0.4
 VERSION_INFO=`echo $VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'`
 AC_SUBST(VERSION_INFO)