Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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

indent

 page envelope information, i.e. document-specific metadata

 

used in

indent
 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>

indent

 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>

indent

 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>

indent

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

 

<workflowVersion>

indent

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

 

<placeholder>

indent

 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>

indent

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

 

<width>

indent

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

 

<custom>

indent

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

 

====

<publication-id>

indent

 The publication id. (from [PageEnvelope].java)

 

<publication>

indent

 The publication (from [PageEnvelope].java)

 

<publication-languages-csv>

indent

 A list of the publication's languages, comma-seperated

 

<context-prefix>

indent

 The context prefix

 

<area>

indent

 The area

 

<default-language>

indent

 The default language of the publication

 

<document>

indent

 The current document

 

<document-id>

indent

 The document id of the current document

 

<document-parent>

indent

 The document id of the parent document

 

<document-name>

indent

 The name of the current document

 

<document-type>

indent

 The type of the current document

 

<document-label>

indent

 The label of the current document

 

<document-url>

indent

 The URL of the current document

 

<documenr-url-without-language>

indent

 The URL of the current document without a language extension.

 

<document-file>

indent

 The file of the current document

 

<document-path>

indent

 The path of the current document

 

<document-extension>

indent

 The extension of the current document

 

<document-source-extension>

indent

 The source extension of the current document

 

<document-uuid>

indent

 The uuid of the current document

 

<document-language>

indent

 The language of the current document

 

<document-languages>

indent

 The languages the current document is available in

 

<document-languages-cvs>

indent

 The languages the current document is available in, comma-seperated

 

<document-lastmodified>

indent

 The last modified date of the current document

 

<breadcrumb-prefix>

indent

 The breadcrumb prefix of the publication, used for navigation

 

<ssl-prefix>

indent

 The SSL prefix of the publication