Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Making XOM work with the Java 8 Stream API

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Michael Kay <mike AT saxonica.com>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Making XOM work with the Java 8 Stream API
  • Date: Fri, 13 Apr 2018 10:25:08 +0100

I've now published an outline of the planned Saxon 9.9 interface at

http://dev.saxonica.com/blog/mike/2018/04/navigating-xml-trees-using-java-streams.html

Michael Kay
Saxonica

> On 13 Apr 2018, at 08:23, Michael Kay <mike AT saxonica.com> wrote:
>
> I have been doing this for the next release of the Saxon s9api interface,
> and I'm quite pleased with the result: I think it produces a very usable
> API.
>
> I haven't published anything on it yet, but I've got stuff nearly ready to
> go, so I'll try and put up a blog article on it today to share the ideas.
>
> Michael Kay
> Saxonica
>
>> On 12 Apr 2018, at 08:56, Pelle Poluha <pelle.poluha AT consid.se> wrote:
>>
>> I've been using XOM almost 10 years now and it has served me well. Lots of
>> things have happened in the Java world during that time, most notably Java
>> 8 and the Stream API. Now, traversing a query result using an ordinary for
>> loop is clumsy in comparison. So I'm thinking about how to make XOM work
>> with streams. Perhaps I could create a wrapper taking Nodes and making
>> them both iterable and streamable? Would this be a good idea in your
>> opinion?
>> _______________________________________________
>> XOM-interest mailing list
>> XOM-interest AT lists.ibiblio.org
>> https://lists.ibiblio.org/mailman/listinfo/xom-interest
>
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> https://lists.ibiblio.org/mailman/listinfo/xom-interest





Archive powered by MHonArc 2.6.24.

Top of Page