PHP 手冊
前一頁 |  | 下一頁

# DOMDocument->relaxNGValidate()

DOMDocument->relaxNGValidate() -- Performs relaxNG validation on the document

## Description

class DOMDocument {
bool relaxNGValidate ( string filename )
}

Performs relaxNG validation on the document based on the given RNG schema.

## Parameters

filename

  The RNG file.

## Return Values

成功回傳`TRUE`失敗回傳`FALSE`。

## 參考

DOMDocument->relaxNGValidateSource()
DOMDocument->schemaValidate()
DOMDocument->schemaValidateSource()
DOMDocument->validate()

前一頁 | 內容 | 下一頁
DOMDocument->normalize() | 上一層 | DOMDocument->relaxNGValidateSource()