How to validate an XHTML document

There are three XHTML flavors: Frameset, Strict, and Transitional. XMLBlueprint XML Editor supports all three.

How to validate an XHTML document against the Frameset DTD

To validate an XHTML document against the Frameset DTD, you must include the XHTML Frameset DTD in your document:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

</html>

XMLBlueprint XML Editor will automatically support XML Completion for your XHTML document based on the Frameset DTD. To validate your XHTML document, open it in XMLBlueprint XML Editor and click XML > Validate.

How to validate an XHTML document against the Strict DTD

To validate an XHTML document against the Strict DTD, you must include the XHTML Strict DTD in the your document:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

</html>

XMLBlueprint XML Editor will automaticallty support XML Completion for your XHTML document based on the Strict DTD. To validate your XHTML document, open it in XMLBlueprint XML Editor and click XML > Validate.

How to validate an XHTML document against the Transitional DTD

To validate an XHTML document against the Transitional DTD, you must include the XHTML Transitional DTD in your document:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"></html>

XMLBlueprint XML Editor will automatically support XML Completion for your XHTML document based on the Transitional DTD. To validate your XHTML document, open it in XMLBlueprint XML Editor and click XML > Validate.