Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSLT for XML-to-CSV transformations (like TestRail-to-Xray) #14

Open
vnaipaul opened this issue Nov 19, 2024 · 0 comments
Open

XSLT for XML-to-CSV transformations (like TestRail-to-Xray) #14

vnaipaul opened this issue Nov 19, 2024 · 0 comments

Comments

@vnaipaul
Copy link
Contributor

Is there any appeal to adding XSLT sample code for XML to CSV (for import to XRay) transformations, as an alternative to the Python scripts ?

I converted the TestRail-to-Xray script (cloud version), as an exercise at first, then out of stubbornness :).

The XSLT version came out a little wordier than the Python version, with about 25% more LOC, and XSLT might not be as widely familiar as Python (personally, I feel XSLT is under-appreciated).

Advantages I see, to XSLT over the existing Python samples:

  • Native support for XML entity references
  • Implicitly recursive
  • Fewer dependencies to manage (e.g. the xslt3 npm package is enough)

Thanks for considering this, and thanks for the samples !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant