📄 widget-tree.xsd
字号:
<?xml version="1.0" encoding="UTF-8"?><!-- * Copyright (c) 2004 The Open For Business Project - www.ofbiz.org * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * $Id: widget-tree.xsd 6605 2006-01-29 04:17:04Z jonesde $--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="trees"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="tree"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="tree"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="node"/> </xs:sequence> <xs:attributeGroup ref="attlist.tree"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.tree"> <xs:attribute type="xs:string" name="name" use="required"/> <xs:attribute type="xs:string" name="root-node-name" use="required"/> <xs:attribute name="default-render-style" default="simple"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="simple"/> <xs:enumeration value="follow-trail"/> <xs:enumeration value="show-peers"/> <xs:enumeration value="expand-collapse"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" name="default-wrap-style"/> <xs:attribute type="xs:string" name="expand-collapse-request"/> <xs:attribute type="xs:string" name="trail-name"/> <xs:attribute type="xs:string" name="open-depth" default="0"/> <xs:attribute type="xs:string" name="post-trail-open-depth" default="0"/> <xs:attribute type="xs:string" name="entity-name" default="Content"/> <xs:attribute name="force-child-check" default="true"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="node"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="condition"/> <xs:choice minOccurs="0"> <xs:element ref="entity-one"/> <xs:element ref="service"/> </xs:choice> <xs:choice minOccurs="0"> <xs:element ref="include-screen"/> <xs:element ref="label"/> <xs:element ref="link"/> </xs:choice> <xs:element minOccurs="0" maxOccurs="unbounded" ref="sub-node"/> </xs:sequence> <xs:attributeGroup ref="attlist.node"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.node"> <xs:attribute type="xs:string" name="name" use="required"/> <xs:attribute type="xs:string" name="wrap-style"/> <xs:attribute name="render-style"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="simple"/> <xs:enumeration value="follow-trail"/> <xs:enumeration value="show-peers"/> <xs:enumeration value="expand-collapse"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" name="entry-name" /> <xs:attribute type="xs:string" name="entity-name" /> <xs:attribute type="xs:string" name="join-field-name" /> </xs:attributeGroup> <xs:element name="sub-node"> <xs:complexType> <xs:sequence> <xs:choice> <xs:element ref="entity-and"/> <xs:element ref="service"/> <xs:element ref="entity-condition"/> </xs:choice> <xs:element minOccurs="0" maxOccurs="unbounded" ref="out-field-map"/> </xs:sequence> <xs:attributeGroup ref="attlist.sub-node"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.sub-node"> <xs:attribute type="xs:string" name="node-name" use="required"/> </xs:attributeGroup> <xs:element name="include-screen"> <xs:complexType> <xs:attributeGroup ref="attlist.include-screen"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.include-screen"> <xs:attribute type="xs:string" name="name" use="required"/> <xs:attribute type="xs:string" name="location" use="required"/> <xs:attribute name="share-scope" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="label"> <xs:complexType mixed="true"> <xs:attributeGroup ref="attlist.label"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.label"> <xs:attribute type="xs:string" name="text"/> <xs:attribute type="xs:string" name="id"/> <xs:attribute type="xs:string" name="style"/> </xs:attributeGroup> <xs:element name="link"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="image"/> </xs:sequence> <xs:attributeGroup ref="attlist.link"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.link"> <xs:attribute type="xs:string" name="text"/> <xs:attribute type="xs:string" name="id"/> <xs:attribute type="xs:string" name="style"/> <xs:attribute type="xs:string" name="name"/> <xs:attribute type="xs:string" name="title"/> <xs:attribute type="xs:string" name="target"/> <xs:attribute type="xs:string" name="target-window"/> <xs:attribute type="xs:string" name="prefix"/> <xs:attribute name="url-mode" default="intra-app"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="intra-app"/> <xs:enumeration value="inter-app"/> <xs:enumeration value="content"/> <xs:enumeration value="plain"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="full-path" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="secure" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="encode" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="true"/> <xs:enumeration value="false"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="image"> <xs:complexType mixed="true"> <xs:attributeGroup ref="attlist.image"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.image"> <xs:attribute type="xs:string" name="src"/> <xs:attribute type="xs:string" name="id"/> <xs:attribute type="xs:string" name="style"/> <xs:attribute type="xs:string" name="width"/> <xs:attribute type="xs:string" name="height"/> <xs:attribute type="xs:string" name="border"/> <xs:attribute name="url-mode" default="content"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="ofbiz"/> <xs:enumeration value="content"/> <xs:enumeration value="raw"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="service"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="field-map"/> </xs:sequence> <xs:attributeGroup ref="attlist.service"/> </xs:complexType> </xs:element> <xs:attributeGroup name="attlist.service"> <xs:attribute type="xs:string" name="service-name" use="required"/> <xs:attribute type="xs:string" name="result-map-name"/> <xs:attribute type="xs:string" name="auto-field-map" default="true"> <xs:annotation><xs:documentation>This can be "true", "false" or the name of a Map in the context to use as the source Map for the service context.</xs:documentation></xs:annotation> </xs:attribute> <xs:attribute type="xs:string" name="result-map-list-name"/> <xs:attribute type="xs:string" name="result-map-list-iterator-name"/> <xs:attribute type="xs:string" name="result-map-value-name"/> <xs:attribute type="xs:string" name="value-name"/> </xs:attributeGroup> <xs:element name="entity-and"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="field-map"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="select-field"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="order-by"/> </xs:sequence> <xs:attributeGroup ref="attlist.entity-and"/> </xs:complexType> </xs:element>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -