A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.
To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).
Validator.nu Common Input Parameters: Difference between revisions
(Reorg) |
(→Parameters for both the generic and HTML5 facets: out table) |
||
Line 7: | Line 7: | ||
===<code>out</code>=== | ===<code>out</code>=== | ||
{| class="wikitable" | |||
|- | |||
! align="left" | Value | |||
! align="left" | Format | |||
|- | |||
| ''none'' | |||
| HTML | |||
|- | |||
| <code>xhtml</code> | |||
| XHTML | |||
|- | |||
| <code>xml</code> | |||
| [[Validator.nu XML Output|XML]] | |||
|- | |||
| <code>json</code> | |||
| [[Validator.nu JSON Output|JSON]] | |||
|- | |||
| <code>text</code> | |||
| Human-readable text (not for machine parsing) | |||
|} | |||
===<code>showsource</code>=== | |||
The only supported value is <code>yes</code> which means that source is shown (if supported by the output format). | |||
==Parameters for the generic facet only== | ==Parameters for the generic facet only== |
Revision as of 10:35, 27 November 2007
Validator.nu accepts the following parameters regardless of input method. How these parameters are communicated depends on the input method.
Validator.nu has a generic facet at http://validator.nu/
and an (X)HTML5 facet at http://html5.validator.nu/
. Some parameters apply only to the generic facet. All parameters listed here are optional.
Parameters for both the generic and HTML5 facets
out
Value | Format |
---|---|
none | HTML |
xhtml
|
XHTML |
xml
|
XML |
json
|
JSON |
text
|
Human-readable text (not for machine parsing) |
showsource
The only supported value is yes
which means that source is shown (if supported by the output format).
Parameters for the generic facet only
schema
This parameter takes a space-separated list of schema IRIs. The schemas can be RELAX NG 1.0 schemas, Schematron 1.5 schemas or identifiers for built-in non-schema-based checkers.