可以使用 XML 解析器读出 标记,但在本例中使用一个正则表达式会更为容易。
You could use an XML parser to read out the tags, but it's easier in this case to use a regular expression.
say-as 标记可以通知 TTS 解析器如何读出项目,interpret-as 标记将指示数据类型,而 format 标记将指示信息的规则。
The say-as tag can tell the TTS parser how to speak an item, the interpret-as tag indicates the data type, and the format tag indicates the order of the information.
应用推荐