xml-parse-tag

xml-parse-tag is a compiled Lisp function in `xml.el'.

(xml-parse-tag &optional PARSE-DTD PARSE-NS)

Parse the tag at point.
If PARSE-DTD is non-nil, the DTD of the document, if any, is parsed and
returned as the first element in the list.
If PARSE-NS is non-nil, expand QNAMES; for further details, see
`xml-parse-region'.

Return one of:
- a list : the matching node
- nil : the point is not looking at a tag.
- a pair : the first element is the DTD, the second is the node.