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

Pyproc: Replace/Extend xsltproc #22

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Pyproc: Replace/Extend xsltproc #22

wants to merge 11 commits into from

Conversation

tomschr
Copy link
Contributor

@tomschr tomschr commented Dec 19, 2017

TODO:

  • Add extension function for XPath
  • Add logging

TODO:
* Add extension function for XPath
* Add logging
@tomschr tomschr self-assigned this Dec 19, 2017
@tomschr tomschr requested a review from a user December 19, 2017 13:29
@ghost ghost closed this Dec 19, 2017
@ghost ghost reopened this Dec 19, 2017
@openSUSE openSUSE deleted a comment Dec 19, 2017
In some cases the result from the XSLT run is needed.
Return it only, if requested through args.xsltresult
* args.stringparam need to be wrapped with etree.XSLT.strparam(value)
* Add file parameter in pyproc-styletest.xsl
argparse stores values of --stringparam as this:
  [(key1, value1), (key2, value2), ...]
This needs to be converted into a dict, therefore wrap it with dict()
which automatically converts it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant