xml - Generating XBRL document programmatically: Use a template or a library? -


i working on financial application , 1 of functionality generate xbrl (extensible business reporting language) document. if familiar xbrl instance documents, might aware typically refer large number of schemas. easier generate these xbrl instances using (commecial) libraries.

use case: design web form users fill in various fields.generate valid xbrl instance document using user input.
our platform: c# & .net

my questions:

  • have used of (commercial) libraries? 1 recommend generating 'yearly financial statements'? altova mapforce seems dominant player.

  • a crude workaround avoid using (commecial) libraries:

    • select valid instance document, clear data , store xbrl (xml) file template.
    • render template user using xslt. collect user input , fill in xbrl using standard xml libraries in .net

would recommend workaround? why & why not?

any input appreciated :)

right now, use variation of second approach. have template, parse , populate data, standard xml library (in case c libxml).

the idea of having template helps produce valid xbrl, think xslt complex, , limited, prefer use real programming language (python in case, c# .net)

on commercial tools front:

  • i have never used altova.
  • invoke @ mapping data in instances, , fast.

a third approach generate xbrl instance programmatically, xml library. xbrl xml, after all.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -