Validation 松弛-*任何*属性?
有没有办法定义任意名称属性?我正在验证代码,用户可以并且确实为标记等应用自己的属性,这不会影响我的项目Validation 松弛-*任何*属性?,validation,relaxng,Validation,Relaxng,有没有办法定义任意名称属性?我正在验证代码,用户可以并且确实为标记等应用自己的属性,这不会影响我的项目 <define name="div"> <zeroOrMore> <attribute name="*"> <text /> </attribute> </zeroOrMore> <text /> </define> 似乎正是您想要的: <defin
<define name="div">
<zeroOrMore>
<attribute name="*">
<text />
</attribute>
</zeroOrMore>
<text />
</define>
似乎正是您想要的:
<define name="div">
<zeroOrMore>
<attribute>
<anyName/>
</attribute>
</zeroOrMore>
<text/>
</define>