newjersey / taxation-mef-viewer

Fork of betson/irs-efile-viewer for DOT use
MIT License
0 stars 0 forks source link

Port viewer to work as static site #1

Closed jachan closed 3 months ago

jachan commented 4 months ago

Discovery ticket to track work to migrate XSL stylesheets to work on arbitrary XML.

Acceptance criteria: Sample XML form 1120 can be formatted and viewed in browser.

jachan commented 4 months ago

Current blocker: Uncaught TypeError: top.ReturnTree is undefined

Sourced from top.ReturnTree.formLoadedInFrame(); in PopulateTemplate.xsl line 2381, root cause is that top.ReturnTree never seems to be populated because ReturnTreeBase.xsl referenced in line 2388 does not exist.

jachan commented 3 months ago

3/11: Continuing exploration of getting XSLT transform package to work with Sample XML. Considering writing own ReturnTree structure skeleton to see what data needs to be stored in the structure.

jachan commented 3 months ago

https://github.com/betson/irs-efile-viewer/tree/master/mef

MEF Library has been ported by other users - investigating licensing and how much of this 990 viewer can be used for our case.

Hosted at https://betson.github.io/irs-efile-viewer/. Only supports TY2008-2021, but we should be able to self-host and import additional tax years if we fork this repository.

Notes about the current repo:

jachan commented 3 months ago

3/12:

jachan commented 3 months ago

Marking issue as done, as Sample 1120 can be viewed on locally hosted site using https://github.com/newjersey/taxation-mef-viewer