Skip to content

childNames

childNames(element) → array · XML

Get the names of all child elements.

  • element (required): XML UDM element
utlx
// Input: <Order><Id>1</Id><Date>2026-05-01</Date><Total>100</Total></Order>
// See Chapter 22 for XML processing.
{
  fields: childNames($input)    // ["Id", "Date", "Total"]
}

Released under AGPL-3.0.