St.
St.

Reputation: 533

Alpakka XML content between tags

Alpakka XML processing flow allows to read xml file element by element. But how to extract data between particular StartElement and EndElement including StartElement data? subslice is not an option because there is no constant prefix for needed elements.

Upvotes: 1

Views: 126

Answers (1)

dvim
dvim

Reputation: 2253

There is no operator like that out of the box, but you can write your own logic that filters out unnecessary elements that are emitted from XmlParsing.parser.

Drawing inspiration from subslice implementation can be a good start.

Upvotes: 1

Related Questions