[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Rexsel — A simpler way of writing XSLT

Subject: Re: Rexsel — A simpler way of writing XSLT
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Jun 2024 20:50:42 -0000
Re:   Rexsel — A simpler way of writing XSLT
On 30/06/2024 19:20, Chris Papademetrious 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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.