IPWorks X12 2020 JavaScript Edition

Questions / Feedback?

HasXPath Method

Determines whether a specific element exists in the document.

Syntax

x12reader.hasXPath(XPath : string): boolean

Remarks

This method determines whether a particular XPath exists within the document. This may be used to check if a path exists before setting it via XPath.

This method returns True if the xpath exists, False if not.

See XPath for details on the XPath syntax.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks X12 2020 JavaScript Edition - Version 20.0 [Build 7721]