39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
The Universal Editor XML data format should be used to parse
|
|
HTML, XML, SGML, and anything else that uses <tag></tag> format
|
|
-->
|
|
<!DOCTYPE example PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!DOCTYPE note
|
|
[
|
|
<!ELEMENT note (to,from,heading,body)>
|
|
<!ELEMENT to (#PCDATA)>
|
|
<!ELEMENT from (#PCDATA)>
|
|
<!ELEMENT heading (#PCDATA)>
|
|
<!ELEMENT body (#PCDATA)>
|
|
]
|
|
>
|
|
<example xmlns="urn:net.alcetech.schemas.Example" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
<metadata>
|
|
<dc:title>Example XML File</dc:title>
|
|
</metadata>
|
|
<samples>
|
|
<self_closing_key attr="value" />
|
|
<legacyHTMLKey attrWithNoQuote=value>
|
|
<p>Define your auto-closing tags (like BR, HR, and P) in XMLDataFormat.AutoCloseTagNames </P>
|
|
<DIV>Yes, the case mismatch is intentional here, even though it drives my OCD mad</div>
|
|
</legacyHTMLKey>
|
|
|
|
<![CDATA[
|
|
This is an example CDATA section.
|
|
]]>
|
|
<?php
|
|
// example Preprocessor Directive section, anything can go here...
|
|
?>
|
|
<%
|
|
// example Preprocessor Directive section with type ASP.NET (%)
|
|
// anything can go here as well, just make sure you register your
|
|
// custom preprocessor directive prefix in XMLDataFormat.PreprocessorDirectives!
|
|
%>
|
|
</samples>
|
|
</example> |