MCPcopy Create free account
hub / github.com/denoland/std / onStartElement

Method onStartElement

xml/types.ts:425–425  ·  view source on GitHub ↗

* Called when an element starts. * @param colonIndex Index of ':' in name, or -1 if no prefix. * @param uri The resolved namespace URI if the element has a bound prefix, undefined otherwise.

(
    name: string,
    colonIndex: number,
    uri: string | undefined,
    attributes: XmlAttributeIterator,
    selfClosing: boolean,
    line: number,
    column: number,
    offset: number,
  )

Source from the content-addressed store, hash-verified

423 * @param uri The resolved namespace URI if the element has a bound prefix, undefined otherwise.
424 */
425 onStartElement?(
426 name: string,
427 colonIndex: number,
428 uri: string | undefined,

Callers 1

onStartTagCloseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected