问将xs:attributeGroups导入多个命名空间xsdEN我有一个组,其中包含一长串允许的属性,比如:attr- attrib...
boolean isGlobalRef = (decl.getScope() == XSConstants.SCOPE_GLOBAL); boolean isAnonType = xst.getAnonymous(); String name = decl.getName(); String prefix = null; String namespace = decl.getNamespace(); prefix = getPrefix(namespace); buf.append("<attribute ref='" + prefix + ":"...
format("<attribute ref=\"'{'{0}'}'{1}{2}\"/>", decl.getTargetNamespace(), decl.getName(), additionalAtts)); } } 代码示例来源:origin: com.sun.xsom/xsom public void attributeUse( XSAttributeUse use ) { XSAttributeDecl decl = use.getDecl(); String additionalAtts=""; if(use....