From be6e802f7ccaba1ca5faa7e55c1e6f2e3aa0dc26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 9 Oct 2024 14:54:53 +0200 Subject: [PATCH] Improve handle-generic-xml documentation #497 --- .../main/java/org/metafacture/xml/GenericXmlHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java b/metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java index 3fbe15da6..b28aaea79 100644 --- a/metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java +++ b/metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java @@ -34,7 +34,11 @@ * @author Markus Michael Geipel * */ -@Description("A generic xml reader") +@Description("A generic xml reader. Separates XML data in distrinct records with the defined record tag name (default: `recordtagname=\"record\"`)" + + "If no matching record tag is found, the output will be empty." + + "The handler breaks down XML elements with simple string values and optional attributes" + + "into entities with a value subfield (name configurable) and additional subfields for each attribute." + + "Record tag and value tag names can be configured, also attributes can get get an attributeMarker.") @In(XmlReceiver.class) @Out(StreamReceiver.class) @FluxCommand("handle-generic-xml")