Documentation · ViewHelper reference

XSD schema file | vhs master

Using the <html> tag

<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
      xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
      v:schemaLocation="https://fluidtypo3.org/schemas/vhs-master.xsd">
<head>
	<title>Partials: MyPartial</title>
</head>
<body>
	<f:section name="Main">
		<!-- Fluid goes here -->
	</f:section>
</body>
</html>

Using a <div> or other standard tag

<div xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
     v:schemaLocation="https://fluidtypo3.org/schemas/vhs-master.xsd">
	<!-- Fluid goes here -->
</div>

Mini guide

Download the XSD file or use the URL as v:schemaLocation.

Add an xmlns:v attribute and assign a unique namespace URL. If at all possible, use the official URLs.

Make sure when referencing your XSD file to always use the same URL for the same XSD file.