OpenSheetMusicDisplay
    Preparing search index...

    Class IXmlElement

    Just a wrapper for an XML Element object. It facilitates handling of XML elements by OSMD

    Index
    • Wraps 'elem' Element in a IXmlElement

      Parameters

      • elem: Element
      • OptionalknownName: string

        the element's lower-cased node name, when the caller already matched on it - saves a DOM read and a toLowerCase() per wrapper

      Returns IXmlElement

    name: string
    • Get the attribute with the given name

      Parameters

      • attributeName: string

      Returns Attr

    • Get the first child element with the given node name with all the children of consequent child elements with the same node name. for example two tags will be combined for better processing

      Parameters

      • elementName: string

      Returns IXmlElement