Subject: XProc 3.0 alternatives, was Re: Aw: Re: [xsl] Rexsel — A simpler way of writing XSLT From: "Piez, Wendell A. (Fed) wendell.piez@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 1 Jul 2024 15:28:28 -0000 |
Martin, That is an awesome question (XProc 3.0 under Python) and I am going to track it. Unfortunately I have no answer today. Its a little off-topic here or maybe it isnt but I have a project underway, one of whose goals to make XProc 3.0 easier to run and use, starting with Achim Berndzens awesome Morgana III (JVM-based), but ultimately not limited or locked in to this processor, and open for anyone to test with -- https://github.com/usnistgov/oscal-xproc3 Lots of XSLT in there! Its meant not only for developers, but also for beginners and domain-expert users, who must understand processes even if they dont write code. Cheers, Wendell From: Martin Honnen martin.honnen@xxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, July 1, 2024 10:36 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Aw: Re: [xsl] Rexsel A simpler way of writing XSLT Good point in general, but is there a good and easy way to use XProc 3 from/with Python ? Am 01.07.24, 16:30 schrieb "Piez, Wendell A. (Fed) wendell.piez@xxxxxxxx<mailto:wendell.piez@xxxxxxxx>" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx<mailto:xsl-list-service@xxxxxxxxxxxx rytech.com>>: Hello, Or, today, to process HTML into an XSLT pipeline, one might opt for XProc 3.0. What with plain-text, JSON and HTML inputs, and with XSLT streaming and accumulators, maybe XSLT has finally caught up with Omnimark? Regards, Wendell -----Original Message----- From: Martin Honnen martin.honnen@xxxxxx<mailto:martin.honnen@xxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx<mailto:xsl-list-service@xxxxxxxxxxxx rytech.com>> Sent: Sunday, June 30, 2024 4:51 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx<mailto:xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re: [xsl] Rexsel A simpler way of writing XSLT On 30/06/2024 19:20, Chris Papademetrious chrispitude@xxxxxxxxx<mailto:chrispitude@xxxxxxxxx> wrote: > Nowadays I mostly process HTML in Python. The funny thing is, I would > kill for a way to natively process HTML5 in XSLT (without resorting to > XHTML) because the content processing I do would fit a template based > approach very well. But alas, there's no easy way in the Python world. If you have a Saxon PE or EE license you can use SaxonCPE or SaxonCEE (https://pypi.org/project/saxoncee/) with Python and use the parse-html extension/XPath 4 function to process HTML5 with XSLT 4/XQuery 4 (and until we see 12.5 with XPath if you use the hack of https://saxonica.plan.io/issues/5967#note-8). parse-html(unparsed-text("https://stackoverflow.com/questions/tagged/saxon")) Your mileage of "easy way" might differ. XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list> EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/3302254> (by email<>)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Aw: Re: [xsl] Rexsel — A simpler w, Martin Honnen martin | Thread | Re: Re: [xsl] Rexsel - A simpler wa, list.mu@xxxxxxxxxxx |
[xsl] XSL-List Guidelines, B Tommie Usdin btusd | Date | Re: Re: [xsl] Rexsel - A simpler wa, list.mu@xxxxxxxxxxx |
Month |