<!ELEMENT log (#PCDATA | value)* > <!ATTLIST log label CDATA #IMPLIED expr %expression; #IMPLIED >
expr : expression
An optional ECMAScript expression evaluating to string whose value is to be written to the log file.
label : CDATA
Indicates the category for this log message. This is useful when sifting through lengthy log files.
PCDATA or value elements
To be written to the log file.
<?xml version="1.0" encoding="iso-8859-1"?> <vxml version="2.0"> <form id="test"> <field name="ssno" type="digits"> <prompt> Please enter your social security number. </prompt> <filled> <if cond="ssno.length!=9"> <prompt> I'm sorry. That is not a valid social security number. </prompt> <log label="user_error"> Bad SS#: <value expr="ssno"/> </log> <clear namelist="ssno"/> <reprompt/> </if> </filled> </field> </form> </vxml> |
18.224.59.50