Menu

SAXON and generate-auto-number extension

Help
2015-10-05
2015-10-05
  • Maksim Ignatov

    Maksim Ignatov - 2015-10-05

    Hi All. I tried to do XSLT transform one XML file to another XML used XSLT generated in Altova Map Force.
    I solved problem describer in this topic by implementing processor.registerExtensionFunction.
    http://sourceforge.net/p/saxon/discussion/94027/thread/1329e60d/?limit=25#54c9

    But, my functions called only once. In output XML a see my generated numbers but always the same number.
    What i do wrong, please help?

     
  • Michael Kay

    Michael Kay - 2015-10-05

    We're not using this forum any more: could you move the discussion to saxonica.plan.io please?

    It's hard to say what you are doing wrong, because you haven't said in any detail what you are doing. In general, though, functions with side-effects are always problematic in a functional language.