PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMDocument->relaxNGValidateSource()> <DOMDocument->registerNodeClass()
Last updated: Sat, 24 Mar 2007

view this page in

DOMDocument->relaxNGValidate()

(No version information available, might be only in CVS)

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

Popis

class DOMDocument {
bool relaxNGValidate ( string $filename )
}

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

Seznam parametrů

filename

The RNG file.

Návratové hodnoty

Vrací TRUE při úspěchu, FALSE při selhání.

Viz také

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



add a note add a note User Contributed Notes
DOMDocument->relaxNGValidate()
mitchell dot beaumont at mitchellbeaumont dot com
26-Aug-2007 07:28
It's worth noting that when validation fails this function also triggers a warning.

You can suppress the warning using the set_error_handler and restore_error_handler functions.
gem at rellim dot com
12-Oct-2004 05:36
Creating an .rng file by hand is a PITA.  Trang is a command line
java tool to save the day.  Trang will read a sampling of your .xml and
create a .rng for you.

Get it here: http://thaiopensource.com/relaxng/trang.html

 
show source | credits | stats | sitemap | contact | advertising | mirror sites