nested_element#
- langchain_core.output_parsers.xml.nested_element(path: list[str], elem: Element) Any [source]#
Get nested element from path.
- Parameters:
path (list[str]) – The path to the element.
elem (Element) – The element to extract.
- Returns:
The nested element.
- Return type:
Any