The function String() takes a string, string, wraps it in a table ({value = s or ''}), and assigns the metatable mt to the table.
函数String()接收一个字符串 string,将其封装到一个表({value =sor ''})中,并将元表 mt赋值给这个表。
The setPrefix(String, String) method can bind a prefix to a namespace URI in the given context, and getPrefix(String) to retrieve a prefix bound to the given URI.
setPrefix(String, String)方法可以在给定的上下文中将一个前缀绑定到名称空间URI,getPrefix(String)检索绑定到给定的 URI 的前缀。
The setPrefix(String, String) method can bind a prefix to a namespace URI in the given context, and getPrefix(String) to retrieve a prefix bound to the given URI.
setPrefix(String, String)方法可以在给定的上下文中将一个前缀绑定到名称空间URI,getPrefix(String)检索绑定到给定的 URI 的前缀。
应用推荐