Hi Adam,
Hi List,
thanks for pointing out the XQuery implementation, I think it should run just fine in BaseX — yet it is very limited w.r.t. to yml features but might be good start to
further refine 😊
I found another pragmatic way, that might be useful to some:
https://git.basex.io/-/snippets/117
If you can rely on an external tool:
`yq`[1] which integrates an XML output mode, the results might be easy to process.
let $yml := ``[
---
# An employee record
name: Martin D'vloper
job: Developer
skill: foo
employed: True
foods:
- Apple
- Orange
- Strawberry
- Mango
languages:
perl: Elite
python: Elite
pascal: Lame
education: |
4 GCSEs
3 A-Levels
BSc in the Internet of Things
]``
return (
element yaml {
proc:system("yq", ("-o","xml"), map{"input":$yml})
=> parse-xml-fragment()
}
)
Best
Michael
[1] https://github.com/mikefarah/yq
Von:
BaseX-Talk <basex-talk-bounces@mailman.uni-konstanz.de> im Auftrag von Adam Law <adamjameslaw@gmail.com>
Datum: Freitag, 29. Juli 2022 um 09:27
An: BaseX <basex-talk@mailman.uni-konstanz.de>
Betreff: Re: [basex-talk] BaseX YAML Parser?
Perhaps you have already seen:
I think it might be for ExistDB
On Wed, Jul 27, 2022 at 6:00 PM <basex-talk-request@mailman.uni-konstanz.de> wrote:
Send BaseX-Talk mailing list submissions to
basex-talk@mailman.uni-konstanz.de
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
or, via email, send a message with subject or body 'help' to
basex-talk-request@mailman.uni-konstanz.de
You can reach the person managing the list at
basex-talk-owner@mailman.uni-konstanz.de
When replying, please edit your Subject line so it is more specific
than "Re: Contents of BaseX-Talk digest..."
Today's Topics:
1. Re: Fwd: Available Integration with Apache POI for Excel
Generation? (Eliot Kimber)
2. BaseX YAML Parser? (Eliot Kimber)
3. Re: BaseX YAML Parser? (Marco Lettere)
4. Re: BaseX YAML Parser? (Martin Honnen)
5. Re: BaseX YAML Parser? (Hans-Juergen Rennau)
6. Re: BaseX YAML Parser? (?yvind Gjesdal)
7. Re: BaseX YAML Parser? (Imsieke, Gerrit, le-tex)
8. Re: BaseX YAML Parser? (Eliot Kimber)
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Jul 2022 13:08:24 +0000
From: Eliot Kimber <eliot.kimber@servicenow.com>
To: BaseX <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] Fwd: Available Integration with Apache POI
for Excel Generation?
Message-ID:
<SN4PR0801MB77576BAD6B0F077D6727731CF1949@SN4PR0801MB7757.namprd08.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"
Tim,
Thanks for the pointer?that?s not quite what I was looking for.
What I have in mind is adding functions that let you read and write Excel spreadsheets using the POI API, which is much easier to use than interacting directly with the OOXML under the covers (Excel uses a lot of indirection and data normalization to minimize file size that makes operating on the raw XML really challenging).
I fully understand that Christian?s team have done this kind of work for hire and are not keen (or even contractually allowed) to give it away. It?s valuable stuff.
But I had to ask?
Cheers,
E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
From: BaseX-Talk <basex-talk-bounces@mailman.uni-konstanz.de> on behalf of Tim Thompson <timathom@gmail.com>
Date: Monday, July 25, 2022 at 5:50 PM
To: BaseX <basex-talk@mailman.uni-konstanz.de>
Subject: [basex-talk] Fwd: Available Integration with Apache POI for Excel Generation?
[External Email]
Resending to the list (forgot to reply all).
---------- Forwarded message ---------
From: Tim Thompson <timathom@gmail.com<mailto:timathom@gmail.com>>
Date: Mon, Jul 25, 2022 at 5:04 PM
Subject: Re: [basex-talk] Available Integration with Apache POI for Excel Generation?
To: Eliot Kimber <eliot.kimber@servicenow.com<mailto:eliot.kimber@servicenow.com>>
Hi, Eliot,
I'm not aware of any integration with Apache POI (which would be great), but here's a project--it seems unfinished, but may be enough to get started with?
https://github.com/eliudmeza/OOXML-Library-XQuery-BaseXdb<https://urldefense.com/v3/__https:/github.com/eliudmeza/OOXML-Library-XQuery-BaseXdb__;!!N4vogdjhuJM!Cz_w2CbhSe65FbmwfzIWxz1yBBNPeXPT0hSo5doXxTx23_7YUjWqLxLXmW_GG3vtM43a0DivKT1Bsd7PXGEHsA$>
All best,
Tim
--
Tim A. Thompson (he, him)
Librarian for Applied Metadata Research
Yale University Library
On Mon, Jul 25, 2022 at 2:29 PM Eliot Kimber <eliot.kimber@servicenow.com<mailto:eliot.kimber@servicenow.com>> wrote:
I tried searching for ?BaseX Excel generation? but it didn?t get me farther than a reference to the CSV module, which of course I am familiar with.
I need to add the ability to generate non-trivial Excel spreadsheets, which I know how to do using the Apache POI library, but being lazy I was hoping somebody had already done it in a shareable form.
So my question: Does anyone have or know of a shareable integration of Apache POI with BaseX for generating Excel spreadsheets or some other Excel-generation solution that is not just downloading CSV files?
Thanks,
E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://urldefense.com/v3/__https:/www.linkedin.com/company/servicenow__;!!N4vogdjhuJM!Cz_w2CbhSe65FbmwfzIWxz1yBBNPeXPT0hSo5doXxTx23_7YUjWqLxLXmW_GG3vtM43a0DivKT1Bsd5GpBWvvQ$> | Twitter<https://urldefense.com/v3/__https:/twitter.com/servicenow__;!!N4vogdjhuJM!Cz_w2CbhSe65FbmwfzIWxz1yBBNPeXPT0hSo5doXxTx23_7YUjWqLxLXmW_GG3vtM43a0DivKT1Bsd6H31OtTQ$> | YouTube<https://urldefense.com/v3/__https:/www.youtube.com/user/servicenowinc__;!!N4vogdjhuJM!Cz_w2CbhSe65FbmwfzIWxz1yBBNPeXPT0hSo5doXxTx23_7YUjWqLxLXmW_GG3vtM43a0DivKT1Bsd5wxwZxhw$> | Facebook<https://urldefense.com/v3/__https:/www.facebook.com/servicenow__;!!N4vogdjhuJM!Cz_w2CbhSe65FbmwfzIWxz1yBBNPeXPT0hSo5doXxTx23_7YUjWqLxLXmW_GG3vtM43a0DivKT1Bsd5DmAsoDg$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20220726/1c8041e2/attachment-0001.htm>
------------------------------
Message: 2
Date: Tue, 26 Jul 2022 13:11:01 +0000
From: Eliot Kimber <eliot.kimber@servicenow.com>
To: "basex-talk@mailman.uni-konstanz.de"
<basex-talk@mailman.uni-konstanz.de>
Subject: [basex-talk] BaseX YAML Parser?
Message-ID:
<SN4PR0801MB7757AE56E6D2BF15E5D1FAF4F1949@SN4PR0801MB7757.namprd08.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"
I found myself needing to operate on some YAML documents and tried to find an XQuery YAML parser and did not find one, at least not one of sufficient completeness.
It seems like kind of an obvious missing thing in the XQuery world so just curious if I missed something?
I don?t have time myself to write one?it can?t be that hard but it?s not that critical of a need for me. I ended up using the Python PyYAML library, which let me quickly convert YAML to JSON, which then I could of course process just fine with XQuery.
Thanks,
E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20220726/4bb5e837/attachment-0001.htm>
------------------------------
Message: 3
Date: Tue, 26 Jul 2022 15:25:20 +0200
From: Marco Lettere <m.lettere@gmail.com>
To: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] BaseX YAML Parser?
Message-ID: <0563cb9e-0d78-946c-a9d3-fcd5a5d3a703@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hi Elliot,
I remember having asked info about a possible YAML serialization format
on the Slack Xml.com channel one year ago.
They don't really have a nice opinion about Yaml and no-one looked
really interested in supporting it.
Thus I think there are philosophy matters here :-)
M.
On 26/07/22 15:11, Eliot Kimber wrote:
>
> I found myself needing to operate on some YAML documents and tried to
> find an XQuery YAML parser and did not find one, at least not one of
> sufficient completeness.
>
> It seems like kind of an obvious missing thing in the XQuery world so
> just curious if I missed something?
>
> I don?t have time myself to write one?it can?t be that hard but it?s
> not that critical of a need for me. I ended up using the Python PyYAML
> library, which let me quickly convert YAML to JSON, which then I could
> of course process just fine with XQuery.
>
> Thanks,
>
> E.
>
> _____________________________________________
>
> *Eliot Kimber*
>
> Sr Staff Content Engineer
>
> O: 512 554 9368
>
> M: 512 554 9368
>
> servicenow.com <https://www.servicenow.com>
>
> LinkedIn <https://www.linkedin.com/company/servicenow>?| Twitter
> <https://twitter.com/servicenow>?| YouTube
> <https://www.youtube.com/user/servicenowinc>?| Facebook
> <https://www.facebook.com/servicenow>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20220726/88a9ae8d/attachment-0001.htm>
------------------------------
Message: 4
Date: Tue, 26 Jul 2022 15:32:43 +0200
From: Martin Honnen <martin.honnen@gmx.de>
To: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] BaseX YAML Parser?
Message-ID: <6393881d-48cc-8fa0-d068-7c3d05cc3817@gmx.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Am 26.07.2022 um 15:25 schrieb Marco Lettere:
> Hi Elliot,
>
> I remember having asked info about a possible YAML serialization format
> on the Slack Xml.com channel one year ago.
>
> They don't really have a nice opinion about Yaml and no-one looked
> really interested in supporting it.
>
> Thus I think there are philosophy matters here :-)
I don't remember the details of that request but in general I don't
think some disdain for YAML means you can't support it, I think Calabash
3 for XProc 3 has support for it, as
https://so.nwalsh.com/2020/02/15/xproc-30 says: "The p:load step will
happily load YAML".
Probably no help currently in the context of BaseX and XQuery but at
least some people in the XML community do support reading YAML.
------------------------------
Message: 5
Date: Tue, 26 Jul 2022 13:36:39 +0000 (UTC)
From: Hans-Juergen Rennau <hrennau@yahoo.de>
To: "basex-talk@mailman.uni-konstanz.de"
<basex-talk@mailman.uni-konstanz.de>, Marco Lettere
<m.lettere@gmail.com>, Eliot Kimber <eliot.kimber@servicenow.com>
Subject: Re: [basex-talk] BaseX YAML Parser?
Message-ID: <570835172.434768.1658842599669@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"
Strong, strong backing from the Western Fankurve (the cheap places under no roof and without seats) for Eliot's request! BaseX, we all know it, is a miracle of data integration (once one has discovered the secret of json:doc(), html:doc(), csv:doc()), and YAML is missing! I believe that it is far from trivial (although the common use of YAML would be trivial, but the devil might be in the specified detail), yet it would be really great if BaseX found a way to fill this gap. OpenAPI is sometimes supplied only in YAML! Waving my flag! - Hans-J?rgen
Am Dienstag, 26. Juli 2022 um 15:25:29 MESZ hat Marco Lettere <m.lettere@gmail.com> Folgendes geschrieben:
Hi Elliot,
I remember having asked info about a possible YAML serialization format on the Slack Xml.com channel one year ago.
They don't really have a nice opinion about Yaml and no-one looked really interested in supporting it.
Thus I think there are philosophy matters here :-)
M.
On 26/07/22 15:11, Eliot Kimber wrote:
_filtered {} _filtered {}#yiv3024904512 p.yiv3024904512MsoNormal, #yiv3024904512 li.yiv3024904512MsoNormal, #yiv3024904512 div.yiv3024904512MsoNormal {margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv3024904512 span.yiv3024904512EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv3024904512 .yiv3024904512MsoChpDefault {font-family:"Calibri", sans-serif;}#yiv3024904512 div.yiv3024904512WordSection1 {}
I found myself needing to operate on some YAML documents and tried to find an XQuery YAML parser and did not find one, at least not one of sufficient completeness.
?
It seems like kind of an obvious missing thing in the XQuery world so just curious if I missed something?
?
I don?t have time myself to write one?it can?t be that hard but it?s not that critical of a need for me. I ended up using the Python PyYAML library, which let me quickly convert YAML to JSON, which then I could of course process just fine with XQuery.
?
Thanks,
?
E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com
LinkedIn?|?Twitter?|?YouTube?|?Facebook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20220726/c04f541b/attachment-0001.htm>
------------------------------
Message: 6
Date: Tue, 26 Jul 2022 17:37:15 +0200
From: ?yvind Gjesdal <oyvindlg@gmail.com>
To: Hans-Juergen Rennau <hrennau@yahoo.de>
Cc: basex-talk@mailman.uni-konstanz.de, Marco Lettere
<m.lettere@gmail.com>, Eliot Kimber <eliot.kimber@servicenow.com>
Subject: Re: [basex-talk] BaseX YAML Parser?
Message-ID:
<CAOB384bR2cWj-AQ9zsm5Yf9JWfhoZuAcpF6rVeo+4OrPJFu==Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I recall seeing yaml functions in the library
https://github.com/Armatiek/saxon-extensions.
Best regards,
?yvind
tir. 26. jul. 2022, 15:36 skrev Hans-Juergen Rennau <hrennau@yahoo.de>:
> Strong, strong backing from the Western Fankurve (the cheap places under
> no roof and without seats) for Eliot's request! BaseX, we all know it, is a
> miracle of data integration (once one has discovered the secret of
> json:doc(), html:doc(), csv:doc()), and YAML is missing! I believe that it
> is far from trivial (although the common use of YAML would be trivial, but
> the devil might be in the specified detail), yet it would be really great
> if BaseX found a way to fill this gap. OpenAPI is sometimes supplied only
> in YAML! Waving my flag! - Hans-J?rgen
>
> Am Dienstag, 26. Juli 2022 um 15:25:29 MESZ hat Marco Lettere <
> m.lettere@gmail.com> Folgendes geschrieben:
>
>
> Hi Elliot,
>
> I remember having asked info about a possible YAML serialization format on
> the Slack Xml.com channel one year ago.
>
> They don't really have a nice opinion about Yaml and no-one looked really
> interested in supporting it.
>
> Thus I think there are philosophy matters here :-)
> M.
>
> On 26/07/22 15:11, Eliot Kimber wrote:
>
> I found myself needing to operate on some YAML documents and tried to find
> an XQuery YAML parser and did not find one, at least not one of sufficient
> completeness.
>
>
>
> It seems like kind of an obvious missing thing in the XQuery world so just
> curious if I missed something?
>
>
>
> I don?t have time myself to write one?it can?t be that hard but it?s not
> that critical of a need for me. I ended up using the Python PyYAML library,
> which let me quickly convert YAML to JSON, which then I could of course
> process just fine with XQuery.
>
>
>
> Thanks,
>
>
>
> E.
>
> _____________________________________________
>
> *Eliot Kimber*
>
> Sr Staff Content Engineer
>
> O: 512 554 9368
>
> M: 512 554 9368
>
> servicenow.com <https://www.servicenow.com>
>
> LinkedIn <https://www.linkedin.com/company/servicenow> | Twitter
> <https://twitter.com/servicenow> | YouTube
> <https://www.youtube.com/user/servicenowinc> | Facebook
> <https://www.facebook.com/servicenow>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20220726/7a739d8a/attachment-0001.htm>
------------------------------
Message: 7
Date: Tue, 26 Jul 2022 19:14:44 +0200
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
To: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] BaseX YAML Parser?
Message-ID: <d97cadfa-d754-e98a-40a9-dd145e78e099@le-tex.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Reminder: There was a thread and an issue two years ago:
https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg12959.html
https://github.com/BaseXdb/basex/issues/1921
Christian rejected it (much effort, few users).
Gerrit
On 26.07.2022 15:36, Hans-Juergen Rennau wrote:
> Strong, strong backing from the Western Fankurve (the cheap places under
> no roof and without seats) for Eliot's request! BaseX, we all know it,
> is a miracle of data integration (once one has discovered the secret of
> json:doc(), html:doc(), csv:doc()), and YAML is missing! I believe that
> it is far from trivial (although the common use of YAML would be
> trivial, but the devil might be in the specified detail), yet it would
> be really great if BaseX found a way to fill this gap. OpenAPI is
> sometimes supplied only in YAML! Waving my flag! - Hans-J?rgen
>
> Am Dienstag, 26. Juli 2022 um 15:25:29 MESZ hat Marco Lettere
> <m.lettere@gmail.com> Folgendes geschrieben:
>
>
> Hi Elliot,
>
> I remember having asked info about a possible YAML serialization format
> on the Slack Xml.com channel one year ago.
>
> They don't really have a nice opinion about Yaml and no-one looked
> really interested in supporting it.
>
> Thus I think there are philosophy matters here :-)
>
> M.
>
> On 26/07/22 15:11, Eliot Kimber wrote:
>
> I found myself needing to operate on some YAML documents and tried to
> find an XQuery YAML parser and did not find one, at least not one of
> sufficient completeness.
>
> It seems like kind of an obvious missing thing in the XQuery world so
> just curious if I missed something?
>
> I don?t have time myself to write one?it can?t be that hard but it?s not
> that critical of a need for me. I ended up using the Python PyYAML
> library, which let me quickly convert YAML to JSON, which then I could
> of course process just fine with XQuery.
>
> Thanks,
>
> E.
>
> _____________________________________________
>
> *Eliot Kimber*
>
> Sr Staff Content Engineer
>
> O: 512 554 9368
>
> M: 512 554 9368
>
> servicenow.com <https://www.servicenow.com>
>
> LinkedIn <https://www.linkedin.com/company/servicenow>?| Twitter
> <https://twitter.com/servicenow>?| YouTube
> <https://www.youtube.com/user/servicenowinc>?| Facebook
> <https://www.facebook.com/servicenow>
>
------------------------------
Message: 8
Date: Tue, 26 Jul 2022 17:28:04 +0000
From: Eliot Kimber <eliot.kimber@servicenow.com>
To: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>,
"basex-talk@mailman.uni-konstanz.de"
<basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] BaseX YAML Parser?
Message-ID:
<SN4PR0801MB77579532968443CA32BB2FDCF1949@SN4PR0801MB7757.namprd08.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"
I can certainly imagine that as a BaseX feature YAML parsing has to be pretty low on the list.
There?s got to be a Java library that does it but then somebody has to integrate that library, document it, test it, maintain it?.
I was really just curious about a pure-XQuery YAML parser implementation?
Cheers,
E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
From: BaseX-Talk <basex-talk-bounces@mailman.uni-konstanz.de> on behalf of Imsieke, Gerrit, le-tex <gerrit.imsieke@le-tex.de>
Date: Tuesday, July 26, 2022 at 12:15 PM
To: basex-talk@mailman.uni-konstanz.de <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] BaseX YAML Parser?
[External Email]
Reminder: There was a thread and an issue two years ago:
https://urldefense.com/v3/__https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg12959.html__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTdJGDNpAQ$<https://urldefense.com/v3/__https:/www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg12959.html__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTdJGDNpAQ$>
https://urldefense.com/v3/__https://github.com/BaseXdb/basex/issues/1921__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTerzlq9TQ$<https://urldefense.com/v3/__https:/github.com/BaseXdb/basex/issues/1921__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTerzlq9TQ$>
Christian rejected it (much effort, few users).
Gerrit
On 26.07.2022 15:36, Hans-Juergen Rennau wrote:
> Strong, strong backing from the Western Fankurve (the cheap places under
> no roof and without seats) for Eliot's request! BaseX, we all know it,
> is a miracle of data integration (once one has discovered the secret of
> json:doc(), html:doc(), csv:doc()), and YAML is missing! I believe that
> it is far from trivial (although the common use of YAML would be
> trivial, but the devil might be in the specified detail), yet it would
> be really great if BaseX found a way to fill this gap. OpenAPI is
> sometimes supplied only in YAML! Waving my flag! - Hans-J?rgen
>
> Am Dienstag, 26. Juli 2022 um 15:25:29 MESZ hat Marco Lettere
> <m.lettere@gmail.com> Folgendes geschrieben:
>
>
> Hi Elliot,
>
> I remember having asked info about a possible YAML serialization format
> on the Slack Xml.com channel one year ago.
>
> They don't really have a nice opinion about Yaml and no-one looked
> really interested in supporting it.
>
> Thus I think there are philosophy matters here :-)
>
> M.
>
> On 26/07/22 15:11, Eliot Kimber wrote:
>
> I found myself needing to operate on some YAML documents and tried to
> find an XQuery YAML parser and did not find one, at least not one of
> sufficient completeness.
>
> It seems like kind of an obvious missing thing in the XQuery world so
> just curious if I missed something?
>
> I don?t have time myself to write one?it can?t be that hard but it?s not
> that critical of a need for me. I ended up using the Python PyYAML
> library, which let me quickly convert YAML to JSON, which then I could
> of course process just fine with XQuery.
>
> Thanks,
>
> E.
>
> _____________________________________________
>
> *Eliot Kimber*
>
> Sr Staff Content Engineer
>
> O: 512 554 9368
>
> M: 512 554 9368
>
> servicenow.com <https://www.servicenow.com>
>
> LinkedIn <https://urldefense.com/v3/__https://www.linkedin.com/company/servicenow__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTfcXHAq2g$ > | Twitter
> <https://urldefense.com/v3/__https://twitter.com/servicenow__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTd08g8oaA$ > | YouTube
> <https://urldefense.com/v3/__https://www.youtube.com/user/servicenowinc__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTfW50_3PA$ > | Facebook
> <https://urldefense.com/v3/__https://www.facebook.com/servicenow__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTcZ2sif5g$ >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20220726/f88be4d9/attachment-0001.htm>
End of BaseX-Talk Digest, Vol 151, Issue 15
*******************************************