For example, you can use this method to get rid of comments, to transform CDATASection nodes into Text nodes, or to discard all the namespace declaration attributes from the tree.
例如,可以使用这个方法去掉注释,将CDATASection节点转换为Text节点,或者放弃树中所有命名空间声明属性。
Attributes are not influenced by the declaration of a default namespace.
属性不受缺省名称空间声明的影响。
Notice the declaration of the special Examplotron namespace in this document, which is used for adding the hint attributes.
请注意本文档中对特殊的Examplotron名称空间的声明,该名称空间用于添加提示属性。
应用推荐