IPWorks EDI 2020 Python Edition

Questions / Feedback?

try_x_path Method

Navigates to the specified XPath if it exists.

Syntax

def try_x_path(xpath: str) -> bool: ...

Remarks

This method will attempt to navigate to the specified XPath parameter if it exists within the document.

If the XPath exists the x_path property will be updated and this method returns True.

If the XPath does not exist the x_path property is not updated and this method returns False.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8162]