Andreas Hartmann wrote:
[EMAIL PROTECTED] wrote:
[...]
A Document is XML. An Asset is not XML.
IMO we should use the term Asset for all content items, whether XML
or not. I don't see the need for differentiating between XML and non-XML
assets.
All content-related issues would be the responsibility of the AssetType
(formerly known as ResourceType / DocumentType).
For instance:
----
AssetType "xhtml":
* format "xhtml"
<xhtml:html> ... </xhtml:html>
* format "include/xhtml"
<xhtml:div> ... [everything from /html/body/*] ... </xhtml:div>
* format "link/xhtml"
<xhtml:a href="...">The Title</xhtml:a>
----
AssetType "image":
* format "include/xhtml"
<xhtml:img src="..." alt="..." />
* format "include/svg"
<svg:image x=".." y=".." xlink:href="..." />
* format "include/xslfo"
...
----
AssetType "pdf"
* format "include/xhtml", format "link/xhtml"
<xhtml:a href="[...]/foo.pdf">The Title<xhtml:a>
etc.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]