!
      write (6,*) "      ---> StartXML/pointingTailXML.f90 "
!
      call pakoXMLwriteEndElement("RESOURCE","scans",                  &
     &                         doSpace=.True.,                         &
     &                         error=errorXML)
!
      call pakoXMLwriteEndElement("RESOURCE","scan",                   &
     &                         doSpace=.True.,                         &
     &                         error=errorXML)
!
      call pakoXMLwriteEndElement("RESOURCE","observingBlock",         &
     &                         doSpace=.True.,                         &
     &                         error=errorXML)
!
      call pakoXMLwriteEndElement("VOTABLE",                           &
     &                         doSpace=.True.,                         &
     &                         error=errorXML)
!





