Subject: Re: [xsl] Stylesheet works in oXygen fails in Python with Saxonc From: "Edward Porter edward.porter@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 22 Jan 2025 13:26:40 -0000 |
Respectfully, these sorts of responses don't seem like the best way to grow the ever dwindling XML-stack community. However someone finds their way to "the right tool for the job", e.g., using SaxonC rather than BeautifulSoup to process some XML, is fine with me. As the original poster notes, you have to start somewhere. It's not like there's a wealth of extensive, or even relatively fresh, content out there on the net these days for our corner of the world. -----Original Message----- From: Michael Kay michaelkay90@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, January 21, 2025 6:15 PM To: xsl-list <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re: [xsl] Stylesheet works in oXygen fails in Python with Saxonc EXTERNAL >I was just following a sample file I found. > That's the way people write code these days. Copy and paste, no need to understand it. Either that, or ask ChatGPT to do it for them. I guess ChatGPT looks at more examples and is therefore more likely to get it right. Who knows, it might even read the documentation. I guess that for people like us developing APIs the important lesson is to try and make the method names as explicit as we possibly can. "set_initial_match_selection" was, I suppose, an attempt to do that. But it's only explicit if you know what the "initial match selection" is, and I suppose most people don't. It's hard to see how to avoid such problems. Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Stylesheet works in oXyge, O'Neil Delpratt onei | Thread | [xsl] v4 mode, Andre Cusson akhu01@ |
Re: [xsl] Stylesheet works in oXyge, O'Neil Delpratt onei | Date | [xsl] v4 mode, Andre Cusson akhu01@ |
Month |