Suppose, for instance, that a Python programmer wants to write a script that automatically sends a message to her cell phone when the bus she takes to work rounds a particular corner.
假设,比方说,某个Pyhon程序员想要写一个脚本,可以当她乘坐的公共汽车正好转过某个弯时,程序自动发送消息到她的手机里。
The xsl:message element does not change the result tree produced by the XSLT stylesheet at all. It merely outputs a message somewhere the programmer can see it.
message 元素不改变 XSLT 样式表生成的结果树,仅仅输出一些消息让程序员看到。
While this is a step in the right direction, it's still a pretty useless message in terms of telling the user or a programmer working on the application what actually went wrong.
尽管这是朝正确方向前进的一步,但是要告诉从事应用程序开发的用户和程序员究竟发生了什么问题,这些消息仍然是没有太大用处的。
应用推荐