pipecat.xml module¶
Functions for working with XML data.
-
pipecat.xml.
parse
(source, key='string', keyout='xml')¶ Parse XML data from a record.
Parameters: - source (Record generator, required)
- key (Record key, optional) – Input key containing a string to be parsed as XML.
- keyout (Record key, optional) – Output key where the parsed XML DOM will be stored.
Yields: record (dict) – Input records with a new field key containing an XML DOM.