int getValueInt(int valueidentifier)
•valueidentifier - tells the function which value to return
•1 - the current number of error messages generated
•2 - the current number of warning messages generated
•3 - the current number of message messages generated
•4 - the current number of comment messages generated
•5 - returns 1 if compiled for a "normal" build (not an OEM version), else returns another value
•6 - returns 1 if running from command line arguments, else returns 0
•7 - returns 1 if processing a batch (for example, called with cmdlineprocessor.exe -f), else returns 0
•8 - returns the number of lines in the document (New v4.00)
•9 - returns the number of elements (tags) in the document (New v4.00)
•10 - returns the number of elements (tags) that have been ended (with an end tag) (New v4.00)
•11 - returns the number of HTML comments in the document (New v4.00)
•12 - returns the number of entities in the document (New v4.00)
•13 - returns the number of tag name programs run (New v4.00)
•14 - returns 1 if the validator is generating an easily parsed output file (usually used when integrating with other applications), else returns 0 (New v4.00)
•15 - returns 1 if the validator is validating a file in CSE's integrated editor (not in classic mode), else returns 0 (New v4.00)
•16 - returns 1 if the validator is validating a file in CSE's integrated editor (whether in classic mode or not), else returns 0 (New v4.00)
•17 - returns the number of bytes in the document (each newline is considered 1.5 bytes) (New v4.0012)
•18 - returns 1 if the validator is validating a file in the Batch Wizard, else returns 0 (New v4.02)
•19 - returns 1 if there have been too many errors or warnings and the validation is being terminated (New v4.5021)
•20 - [the integer keyword CSEJOBSUBTYPE is now recommended instead] returns CSEJOBSUBTYPE (New v4.5091)
•21 - [the integer keyword CurrentAttIndex is now recommended instead] returns the attribute index for attribute programs or attribute value programs (should be >=1) (New v4.5091)
•22 - [the integer keyword DocTypeFlags is now recommended instead] returns doctypeflags (contains information about the DOCTYPE being used) (New v4.5110)
•1 - DOCTYPE is empty string
•2 - DOCTYPE contains "strict" (case-insensitive)
•4 - DOCTYPE contains "transitional" (case-insensitive)
•8 - DOCTYPE contains "frameset" (case-insensitive)
•16 - DOCTYPE contains "HTML 4.0" or "HTML 4.01" (case-insensitive)
•32 - DOCTYPE contains "XHTML" (case-insensitive)
•64 - DOCTYPE contains "XHTML 1.1" (case-insensitive) (New v5.0200)
•128 - DOCTYPE contains "XHTML 1.0" (case-insensitive) (New v5.0200)
•256 - DOCTYPE contains "HTML" (case-insensitive) (New v5.4910)
•512 - DOCTYPE contains "XHTML Basic" (case-insensitive) (New v5.4920)
•1024 - Document has no DOCTYPE (or the DOCTYPE hasn't been set/encountered yet) (New v5.4930)
•2048 - DOCTYPE contains "HTML 3.2" (case-insensitive) (New v5.9910)
•4096 - DOCTYPE contains "HTML 3.0" (case-insensitive) (New v5.9910)
•8192 - DOCTYPE contains "HTML 2.0" (case-insensitive) (New v5.9910)
•16384 - DOCTYPE contains " HTML 4.0" followed by a non-digit (case-insensitive) (New v6.4930)
•32768 - DOCTYPE contains " HTML 4.01" (case-insensitive) (New v6.4930)
•65536 - DOCTYPE contains "HTML" but not "XHTML" (case-insensitive) (New v6.4930)
•131072 - DOCTYPE contains " mobile" (case-insensitive) (New v9.0200)
•262144 - DOCTYPE appears to be HTML 5 (like <!DOCTYPE HTML>) (New v9.9913)
•524288 - DOCTYPE contains "about:legacy-compat" (case-insensitive) (New v9.9913)
•Only one or none of the following flags will be set: 16, 2048, 4096, 8192, 262144
•23 - returns the number of characters of the text content of the tag that is being closed; preceding and trailing spaces are not considered; stores the text content (preceding and trailing spaces, if any, are removed) in a variable named getvalueint23content; for v11.0000 and below: use in a tag close program only; see also 41 (New v5.4930)
•24 - returns 1 if checking an external style sheet, else returns 0 (New v5.4930)
•25 - returns 1 if the current tag is closed with "/>", else returns FALSE; use in a tag name start program, attribute program, or attribute value program only (New v5.5100)
•26 - [the integer keyword isAccEnabled is now recommended instead] returns 1 if accessibility checking is enabled else returns 0 (New v5.9910)
•27 - [the integer keyword isWCAG10Enabled is now recommended instead] returns 1 if WCAG 1.0 accessibility checking is enabled else returns 0 (New v5.9910)
•28 - [the integer keyword isSection508Enabled is now recommended instead] returns 1 if Section 508 accessibility checking is enabled else returns 0 (New v5.9910)
•29 - [the integer keyword isAccAndWCAG10Enabled is now recommended instead] returns 1 if both accessibility checking and WCAG 1.0 accessibility checking are enabled else returns 0 (New v5.9910)
•30 - returns 1 if both accessibility checking and Section 508 accessibility checking are enabled else returns 0 (New v5.9910)
•31 - returns 1 if the enable sound option is checked else returns 0 (New v5.9920)
•32 - returns the number of CDATA sections in the document (New v5.9920)
•33 - [the integer keyword isWCAG10P1Enabled is now recommended instead] returns 1 if WCAG 1.0 Priority 1 messages should be displayed, else returns 0 (New v5.9930)
•34 - [the integer keyword isWCAG10P2Enabled is now recommended instead] returns 1 if WCAG 1.0 Priority 2 messages should be displayed, else returns 0 (New v5.9930)
•35 - [the integer keyword isWCAG10P3Enabled is now recommended instead] returns 1 if WCAG 1.0 Priority 3 messages should be displayed, else returns 0 (New v5.9930)
•36 - returns 1 if the job flag for "beginner mode" has been set, else returns 0 (New v6.5200)
•37 - returns the number of entries in the ignored CSS properties list (New v7.9910)
•38 - [the integer keyword isLegacyEnabled is now recommended instead] returns whether to display legacy validator messages or not; depends on legacyflag and whether the flag specified by legacyflag is set or not (New v7.9910)
•39 - returns 1 if in standards compliant mode, else returns 0 (New v7.9923)
•40 - [the integer keyword isSearchEngineEnabled is now recommended instead] returns 1 if general search engine messages are enabled, else returns 0 (New 8.9910)
•41 - same as 23 except "{text}" is used for ASP and PHP code sections; see also 23 (New v9.0000)
•42 - returns the current total number of words spell checked, including words in comments (New v9.0194)
•43 - returns the current total number of words spell checked in HTML/XHTML comments (New v9.0194)
•44 - returns 1 if the element that is being closed contain non-whitespace text or one of the following elements: "object", "img"; use in a tag name end program only (New v9.9930)
•50 - returns valjobflags (New v6.4930)
•60 - [the integer keyword isCLF20Enabled is now recommended instead] returns 1 if Common Look and Feel Standards for the Internet (Canada) is enabled, else returns 0 (New v9.9910)
•61 - returns 1 if accessibility checking is enabled AND WCAG 1.0 checking is enabled AND WCAG Priority 1 AND Priority 2 messages should be displayed, else returns 0 (New v9.9910)
•62 - returns 1 if accessibility checking is enabled AND WCAG 2.0 checking is enabled AND WCAG 2.0 Level A AND Level AA messages should be displayed, else returns 0 (New v10.0125)
•70 - [the integer keyword isWCAG20Enabled is now recommended instead] returns 1 if WCAG 2.0 accessibility checking is enabled else returns 0 (New v9.9912)
•71 - [the integer keyword isWCAG20AEnabled is now recommended instead] returns 1 if WCAG 2.0 "A" messages should be displayed, else returns 0 (New v9.9912)
•72 - [the integer keyword isWCAG20AAEnabled is now recommended instead] returns 1 if WCAG 2.0 "AA" messages should be displayed, else returns 0 (New v9.9912)
•73 - [the integer keyword isWCAG20AAAEnabled is now recommended instead] returns 1 if WCAG 2.0 "AAA" messages should be displayed, else returns 0 (New v9.9912)
•74 - [the integer keyword isAccAndWCAG20Enabled is now recommended instead] returns 1 if both accessibility checking and WCAG 2.0 accessibility checking are enabled else returns 0 (New v9.9912)
•80 - returns the number of foreign CDATA sections in the document (like those in "math" and "svg" sections) (New v11.0043)
•81 - returns the number of native CDATA sections in the document (not foreign) (New v11.0043)
•82 - returns 1 if called in a tag close program and the text contents of the element being closed starts with a newline, else returns 0 (New v11.9916)
•83 - returns the number of native CDATA sections in the document (not foreign) AND that are not commented out in a "script" or "style" element (New v11.9916)
•84 - returns the number of XML processing instructions (New v11.9916)
•100 - returns the current four-digit year (local time) (New v6.0091)
•101 - returns the current month (1-12, local time) (New v6.0091)
•102 - returns the current day (1-31, local time) (New v6.0091)
•103 - returns the current hour (0-23, local time) (New v6.0091)
•104 - returns the current minute (0-59, local time) (New v6.0091)
•105 - returns the current second (0-59, local time) (New v6.0091)
•106 - returns the current millisecond (0-999, local time) (New v6.0091)
•107 - returns the current day of the week (0-6, Sunday=0, Monday=1, etc., local time) (New v6.0091)
•120 - return number of unique proprietary attributes used so far (like those starting with "x-") (New v11.01)
•121 - return number of unique proprietary CSS pseudo-elements used so far (like pseudo-elements starting with "-moz-") (New v11.01)
•122 - return number of unique proprietary CSS media features used so far (like media features starting with "-webkit-") (New v11.01)
•Returns -1 if an error occurs, such as if valueidentifier is invalid. This function will not generate a validator error message if it returns -1 because valueidentifier is invalid.