Help Center

CXmlWriter.WriteFullEndElementmethod

Closes one element and pops the corresponding namespace scope.

File Managementmethoddocumented

Syntax

FUNCTION WriteFullEndElement () AS HRESULT

Return value

Returns S_OK if no error is generated.

Description

Closes one element and pops the corresponding namespace scope. This method always writes the full end tag.

Remarks

Use this method in cases where it is important to guarantee a full end tag. For example, you might use this method if you are writing an HTML <script> element. In HTML, a script block must be always be closed with the full end tag </script> for browsers to properly interpret the block.

Reference

  • Defined in AfxNova/CXmlLite.inc:880
  • Documented in File Management/CXmlLite Class.md
  • Topic: CXmlLite Class