01-24-2008 08:35 AM
01-28-2008 09:54 AM
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element default="2008-01-25" name="creationDate" type="xs:date" />
</xs:schema>
<News>
<Content lang="en">
<Title>d</Title>
<Body>d</Body>
</Content>
<Type>Financial Results</Type>
<PublishingDate>2008-01-08</PublishingDate>
<NbForIndex>2</NbForIndex>
</News><?xml version="1.0" encoding="utf-8" ?>
<!– Created with Liquid XML Studio 1.0.7.0 (http://www.liquid-technologies.com) –>
<xs:schema xmlns:alf="http://www.alfresco.org" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="/getCreationDate.jsp" />
<xs:element name="News">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="2" name="Content">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:normalizedString" />
<xs:element name="Body" type="xs:string" />
</xs:sequence>
<xs:attribute name="lang">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="en">
<xs:annotation>
<xs:appinfo>
<alf:label xmlns:alf="http://www.alfresco.org">English</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="fr">
<xs:annotation>
<xs:appinfo>
<alf:label xmlns:alf="http://www.alfresco.org">Français</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Type">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="Financial Results" />
<xs:enumeration value="Internal Communications" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PublishingDate" type="xs:date" />
<xs:element name="NbForIndex" type="xs:integer">
<xs:annotation>
<xs:appinfo>
<alf:label xmlns:alf="http://www.alfresco.org">How much will appear on index?</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema><jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core">
<jsp:directive.page language="java" contentType="text/html" isELIgnored="false"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:alf="http://www.alfresco.org/alfresco" elementFormDefault="qualified">
<jsp:element name="xs:element">
<jsp:attribute name="name"><c:out value="CreationDate"></c:out></jsp:attribute>
<jsp:attribute name="type"><c:out value="xs:date" ></c:out></jsp:attribute>
<jsp:attribute name="default"><c:out value="2008-01-24" ></c:out></jsp:attribute>
<jsp:body>
<xs:annotation>
<xs:appinfo>
<alf:label><c:out value="Creation Date"/></alf:label>
</xs:appinfo>
</xs:annotation>
</jsp:body>
</jsp:element>
</xs:schema>
</jsp:root>[img]http://img81.imageshack.us/img81/695/addjspma1.jpg[/img]
01-29-2008 09:04 AM
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema xmlns:alf="http://www.alfresco.org/alfresco" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:simpleType name="creation_date">
<xs:restriction base="xs:normalizedString">
<xs:normalizedString value="2008-01-25">
<xs:annotation>
<xs:appinfo>
<alf:label>CreationDate</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:normalizedString>
</xs:restriction>
</xs:simpleType>
</xs:schema>
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:simpleType name="creation_date">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="2008-01-25">
<xs:annotation>
<xs:appinfo>
<alf:label>CreationDate</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:schema>
01-29-2008 09:26 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.