xsd

Where does xsd:attribute declaration go in global xsd:complexType?

混江龙づ霸主 提交于 2020-11-29 09:55:04
问题 I want to declare an attribute of an element already defined. I would like that the element person could have 2 attributes ( name , id ) I have this: <xs:element name="person" type="perso" /> <xs:complexType name="perso"> <!-- I tried to declare the attribute here.Not working--> <xs:sequence> <!-- I tried to declare the attribute here.Not working--> <xs:element name="description" type="xs:string" /> </xs:sequence> </xs:complexType> I am looking to declare a global, not local, complex type. I

Where does xsd:attribute declaration go in global xsd:complexType?

核能气质少年 提交于 2020-11-29 09:54:08
问题 I want to declare an attribute of an element already defined. I would like that the element person could have 2 attributes ( name , id ) I have this: <xs:element name="person" type="perso" /> <xs:complexType name="perso"> <!-- I tried to declare the attribute here.Not working--> <xs:sequence> <!-- I tried to declare the attribute here.Not working--> <xs:element name="description" type="xs:string" /> </xs:sequence> </xs:complexType> I am looking to declare a global, not local, complex type. I

Where can I find XML schema definitions (XSD) for JSF Facelets tag libraries?

♀尐吖头ヾ 提交于 2020-11-28 08:30:04
问题 Where can I find XML schema definitions for xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jstl/core" or since JSF 2.2 xmlns:jsf="http://xmlns.jcp.org/jsf" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:a="http://xmlns.jcp.org/jsf/passthrough" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core" ? 回答1: I recently