Skip to content

Instantly share code, notes, and snippets.

@cedricwalter
Created December 30, 2014 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cedricwalter/81529af2660a2e562913 to your computer and use it in GitHub Desktop.
Save cedricwalter/81529af2660a2e562913 to your computer and use it in GitHub Desktop.
Joomla JED Schema Validation: Remote Listing Administration: Keep your listing up-to-date using a XML file hosted on your own server.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="jedupdate">
<xs:complexType>
<xs:sequence>
<xs:element ref="core_body"/>
<xs:element ref="homepage_link"/>
<xs:element ref="download_link"/>
<xs:element ref="demo_link"/>
<xs:element ref="documentation_link"/>
<xs:element ref="support_link"/>
<xs:element ref="license_link"/>
<xs:element ref="version"/>
<xs:element ref="compatibility"/>
</xs:sequence>
<xs:attribute name="version" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="core_body" type="xs:string"/>
<xs:element name="homepage_link" type="xs:anyURI"/>
<xs:element name="download_link" type="xs:anyURI"/>
<xs:element name="demo_link" type="xs:anyURI"/>
<xs:element name="documentation_link" type="xs:anyURI"/>
<xs:element name="support_link" type="xs:anyURI"/>
<xs:element name="license_link" type="xs:anyURI"/>
<xs:element name="compatibility">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="version"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="version" type="xs:string"/>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<jedupdate version="1" xsi:noNamespaceSchemaLocation="./jedupdate.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core_body>
test
</core_body>
<homepage_link>https://www.galaxiis.com/cedsecurityimages-showcase/</homepage_link>
<download_link>https://www.galaxiis.com/cedsecurityimages-download/</download_link>
<demo_link>https://www.galaxiis.com/cedsecurityimages-demo/</demo_link>
<documentation_link>https://www.galaxiis.com/cedsecurityimages-doc/</documentation_link>
<support_link>https://www.galaxiis.com/forums/</support_link>
<license_link>https://www.galaxiis.com/licence/</license_link>
<version>6.0.4</version>
<compatibility>
<version>25</version>
<version>30</version>
</compatibility>
</jedupdate>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment