Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 4.0   4.1   4.2   4.3   4.4   5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0    Statistic  

XML.NodeCount

Counts nodes with given name.

Component: XML
Version: 7.0
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "XML.NodeCount"; XML; Name { ; Flags } )

Parameters

Parameter Description Example value
XML The XML to process. "<test>Hello</test>"
Name The name of the node to query.
This can be a list to go over several steps to the target tree part.
"something"
Flags Optional
Various Flags.
Add 1 to ignore errors in xml and continue parsing. This may lead to not everything in the xml being read.
0

Result

Returns number or error.

Description

Counts nodes with given name.

XML.ListAttributes   -   XML.NodeNames

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Pfarrgemeinde Ministranten Nickenich