XQuery functions optional parameters

Help
2004-11-23
2012-10-08
  • Kesav Kumar

    Kesav Kumar - 2004-11-23

    Is it possible to declare a function with parameters optional or with default values? Like printf function in C language.

     
    • Michael Kay

      Michael Kay - 2004-11-24

      You can't declare function parameters to be optional. You can however declare two functions with the same name but with different numbers of parameters.

      Michael Kay

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks