Differences between revisions 5 and 6
Revision 5 as of 2007-07-15 11:52:43
Size: 3744
Editor: BobHarner
Comment: Renaming Lenya 1.4 to 2.0
Revision 6 as of 2009-09-20 23:27:37
Size: 3744
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

This documentation is current for SVN 2.0-trunk as of 2006-06-07.

Lenya uses a number of special XML namespaces. They are listed in the Lenya 1.2 documentation: http://lenya.apache.org/1_2_x/misc/namespaces.html The purpose of this page is to document the purpose of those namespaces, the elements and attributes they contain, and their usage semantics.

Since the introduction and usage of elements in those namespaces is often done ad-hoc and informally, this document will also hopefully serve as the basis for a formal, rigorous definition for later Lenya releases.

lenya:* http://apache.org/cocoon/lenya/page-envelope/1.0

used for
page envelope information, i.e. document-specific metadata
used in
src/java/org/apache/lenya/cms/metadata/LenyaMetaData.java, src/java/org/apache/lenya/cms/metadata/CustomMetaData.java, src/java/org/apache/lenya/cms/cocoon/generation/LenyaMetaDataGenerator.java, src/java/org/apache/lenya/cms/publication/PageEnvelope.java

content definitions:

<resourceType>

The name of the resource type attribute. An XML resource has a resource type; this information can be used e.g. for different rendering of different types. (from LenyaMetaData.java)

<contentType>

The name of the content type attribute. Any content managed by Lenya has a type; this information can be used e.g. to provide an appropriate management interface. (from LenyaMetaData.java)

<extension>

The extension to use for the document source. (from LenyaMetaData.java)

<workflowVersion>

A workflow version. @see org.apache.lenya.cms.workflow.DocumentWorkflowable (from LenyaMetaData.java)

<placeholder>

Determines if the document is just a placeholder in the trash and archive areas. @see org.apache.lenya.cms.site.usecases.MoveSubsite (from LenyaMetaData.java)

<height>

Used for graphic assets to store the height in pixels. (from LenyaMetaData.java)

<width>

Used for graphic assets to store the width in pixels. (from LenyaMetaData.java)

<custom>

Wrapper element for custom metadata (arbitrary elements with textual content) (from LenyaCustomMetaData.java)

====

<publication-id>

The publication id. (from PageEnvelope.java)

<publication>

The publication (from PageEnvelope.java)

<publication-languages-csv>
A list of the publication's languages, comma-seperated
<context-prefix>
The context prefix
<area>
The area
<default-language>
The default language of the publication
<document>
The current document
<document-id>
The document id of the current document
<document-parent>
The document id of the parent document
<document-name>
The name of the current document
<document-type>
The type of the current document
<document-label>
The label of the current document
<document-url>
The URL of the current document
<documenr-url-without-language>
The URL of the current document without a language extension.
<document-file>
The file of the current document
<document-path>
The path of the current document
<document-extension>
The extension of the current document
<document-source-extension>
The source extension of the current document
<document-uuid>
The uuid of the current document
<document-language>
The language of the current document
<document-languages>
The languages the current document is available in
<document-languages-cvs>
The languages the current document is available in, comma-seperated
<document-lastmodified>
The last modified date of the current document
<breadcrumb-prefix>
The breadcrumb prefix of the publication, used for navigation
<ssl-prefix>
The SSL prefix of the publication

LenyaSpecificXMLNamespaces (last edited 2009-09-20 23:27:37 by localhost)