xml.xproc.message.xpl Maven / Gradle / Ivy
The newest version!
Example usage:
<px:message message="The value '$1' is an invalid font color. Will use black instead." severity="WARN">
<p:with-param name="param1" select="$color"/>
</px:message>
If a c:errors
document is supplied on this port, the errors will be
logged.
One of "ERROR", "WARN", "INFO", "DEBUG". Defaults to "ERROR" if there is a document
on the "error" port, "INFO" otherwise. Use px:error to throw errors.
Message to be logged. $1, $2 etc will be replaced with the contents of options
"param1", "param2", etc. Must be set if there is no document on the "error" port. Must
not be set if there is a document on the "error" port.
px:log-error
Not more than one document allowed on the "error" port.
"message" option must not be set if there is a document on the "error" port.
"message" option must be set