io7m | single-page | multi-page | xstructural 2.2.0-SNAPSHOT
3.4. Validate
Previous
3. Command-Line Interface
Up
3.6. XHTML
Next

# 3.5. Validate-XHTML

- 3.5.1. Name
- 3.5.2. Description
- 3.5.3. Examples
- 3.5.4. History

## 3.5.1. Name

1
validate-xhtml - Validate XHTML

## 3.5.2. Description

1
The validate-xhtml command validates XHTML pages. The command performs validation against a published XHTML 1.1 XSD schema, and also performs extra integrity checking for internal links.

### 3.5.2.2. Parameters

Parameter | Type | Required | Description
--- | --- | --- | ---
--sourceDirectory | Path | true | The directory containing XHTML files.

## 3.5.3. Examples

### 3.5.3.1. Example

    $ xstructural validate-xhtml \
      --sourceDirectory out
    xstructural: XSXHTMLValidator: INFO: validate (xhtml 1.1) out/index.xhtml

## 3.5.4. History

1
The validate-xhtml command was added in xstructural 1.3.0.
3.4. Validate
Previous
3. Command-Line Interface
Up
3.6. XHTML
Next
io7m | single-page | multi-page | xstructural 2.2.0-SNAPSHOT