如果是用dom4j解析的话, 取得ref的element, element.attributeCount()就能获得属性个数^_^
62,620
社区成员
307,251
社区内容
加载中
试试用AI创作助手写篇文章吧