update : 2015.11.03
php.shukuma.com검색:
|
DOMDocument::validate(PHP 5, PHP 7) DOMDocument::validate — Validates the document based on its DTD 설명
public bool DOMDocument::validate
( void
)
Validates the document based on its DTD. You can also use the validateOnParse property of DOMDocument to make a DTD validation. 반환값
성공 시 예제
Example #1 Example of DTD validation
<?php You can also validate your XML file while loading it:
<?php 참고
|