my 2017 Windows working environment

All these packages resp. utilities do not require Windows admin rights for getting them “installed” – actually they do not need “a Windows system installation”. Below C:\Users\jhayek I created a couple of subdirectories: opt: every package resp. utility has its own subdirectory below there bin: some .bat and .sh (BusyBox ash) scripts go there Packages resp. utilities:… Continue reading my 2017 Windows working environment

XQuery/Inserting and Updating Attributes – Wikibooks, open books for an open world

<!– www.bibleserver.com | 522: Connection timed out body{margin:0;padding:0} <!–[if lte IE 9]>/cdn-cgi/scripts/jquery.min.js<![endif]–> /cdn-cgi/scripts/zepto.min.js<!– /cdn-cgi/scripts/cf.common.js Error 522 Ray ID: 3a8c5df38cb61583 • 2017-10-05 00:47:29 UTC Connection timed out You Browser Working Frankfurt Cloudflare Working www.bibleserver.com Host Error What happened? The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web… Continue reading XQuery/Inserting and Updating Attributes – Wikibooks, open books for an open world

a car and a website – do they have anything in common?

Within the car I have in mind and I came across, its parts communicate using CANopen. The car’s software got mostly implemented in Ada, and once there existed a (home-brewn) software generator Ada code for CANopen message definitions. From the CANopen message definitions the generator created: data structures in Ada marshalling code de-marshalling code There… Continue reading a car and a website – do they have anything in common?

creating diary entries from my (little) blog articles

https://codex.wordpress.org/WordPress_Feeds https://codex.wordpress.org/WordPress_Feeds#Finding_Your_Feed_URL 1st approach: xmlstarlet with an XPath expression (rss/channel/item/link) + shell wrapper. 2nd approach: XQuery script looping over rss/channel/item (+ shell wrapper). I am glad to upload it to my github area, in case somebody is interested. Update 2016-08-26: By default WordPress creates an RSS feed with just 10 entries. I don’t create my diary entries… Continue reading creating diary entries from my (little) blog articles

how would I do something like “disable-output-escaping yes” in XQuery?

http://stackoverflow.com/questions/38677984/how-would-i-do-something-like-disable-output-escaping-yes-in-xquery I am transforming an bank account statement from HTML to a text file (meant to be read by humans) using XQuery. And I want to use “<” and “>” in the output. But XQuery serialisation does the usual XML / HTML escaping. I wonder, how I can get around that unwanted rewriting.

XQuery: “declare boundary-space preserve;” does not apply wherever you expect it

<!– www.bibleserver.com | 522: Connection timed out body{margin:0;padding:0} <!–[if lte IE 9]>/cdn-cgi/scripts/jquery.min.js<![endif]–> /cdn-cgi/scripts/zepto.min.js<!– /cdn-cgi/scripts/cf.common.js Error 522 Ray ID: 3a8c6029598d267e • 2017-10-05 00:48:59 UTC Connection timed out You Browser Working Frankfurt Cloudflare Working www.bibleserver.com Host Error What happened? The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web… Continue reading XQuery: “declare boundary-space preserve;” does not apply wherever you expect it

after a couple of months using XPath and xmlstarlet I created my first lenghty XQuery script using Saxon9HE

“In production” I have been using a Bash+xmlstarlet script, that I wanted to optimise by rewriting it into an XQuery script. This would be my 1st XQuery script after a couple of months of exercising XQuery through Priscilla Walmsley’s book and Saxon9HE – a couple of hours per week only because of my entire workload. During… Continue reading after a couple of months using XPath and xmlstarlet I created my first lenghty XQuery script using Saxon9HE

 XQuery: format-number: using $decimal-format-name is really, really weird

https://www.w3.org/TR/xpath-functions-30/#func-format-number Can you imagine, that the 3rd argument needs extra double quotes around? And it’s not easy to find an example showing this, but here I found one: https://www.amazon.de/dp/9671317502 – “Web Coding Bible” declare decimal-format local:de decimal-separator = “,” grouping-separator = “.”; declare decimal-format local:en decimal-separator = “.” grouping-separator = “,”; let $numbers := (1234.567, 789,… Continue reading  XQuery: format-number: using $decimal-format-name is really, really weird