mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
fixing support for using xml namespaces within forms.
enabling using attributes within forms. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:alf="http://www.alfresco.org/alf"
|
||||
elementFormDefault="qualified"
|
||||
targetNamespace="http://www.alfresco.org/alf">
|
||||
<xs:complexType name="multi">
|
||||
<xs:sequence>
|
||||
<xs:element name="multi1" type="xs:string"/>
|
||||
<xs:element name="multi2" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="xml-namespaces-test">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="string_with_default" type="xs:string" default="default string value"/>
|
||||
<xs:element name="string_no_default" type="xs:string"/>
|
||||
<xs:element name="multi" type="alf:multi" minOccurs="2" maxOccurs="3"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="string_attribute_with_default" type="xs:string" default="default string value"/>
|
||||
<xs:attribute name="string_attribute_no_default" type="xs:string"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
exclude-result-prefixes="xhtml">
|
||||
|
||||
<xsl:output method="html" version="4.01" encoding="UTF-8" indent="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
|
||||
<xsl:preserve-space elements="*"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Reference in New Issue
Block a user