PHP: DOMDocument->relaxNGValidate() - Manual

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: Fri, 26 Jan 2007

view this page in

# DOMDocument->relaxNGValidate()

(no version information, might be only in CVS)

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

## Описание

class DOMDocument {
bool relaxNGValidate ( string filename )
}

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

## Список параметров

`filename`

  The RNG file.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

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

add a note User Contributed Notes
DOMDocument->relaxNGValidate()
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`
add a note
DOMDocument->relaxNGValidateSource() DOMDocument->registerNodeClass()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST