Document: Protocols URL: https://lenya.zones.apache.org/cms/docu/live/docu20/reference/protocols.html Changed by user: Andreas Hartmann (andreas)
---- Removed: /comment()[1] Copyright 1999-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ---- Removed: /comment()[2] $Id: index.xml 55543 2004-10-26 00:14:59Z gregor $ ---- Removed: /document/header/title/text() Apache Lenya Documentation ---- Added: /document/header/title/text() Lenya Protocols ---- Removed: /document/body/p/text() This is a Forrest Document 2.0 sample. ---- Added: /document/body/p/text()[1] Cocoon uses different protocols to access sources. The protocols are handled by a ---- Added: /document/body/p/code <code> (null) ---- Added: /document/body/p/code/text() SourceFactory ---- Added: /document/body/p/text()[3] which resolves the given URI to a source. There are a few protocols specific to Lenya: ---- Added: /document/body/ul <ul> (null) ---- Added: /document/body/ul/li[1] <li> (null) ---- Added: /document/body/ul/li[1]/a <a> (null) ---- Added: /document/body/ul/li[1]/a/@href [attr] href=lenya-document:5d651f70-e986-11dc-b04f-af2277a493d7 (null) ---- Added: /document/body/ul/li[1]/a/code <code> (null) ---- Added: /document/body/ul/li[1]/a/code/text() lenya-document: ---- Added: /document/body/ul/li[1]/text() Reference a document by UUID. The swiss army knife of Lenya. Used for all internal links. ---- Added: /document/body/ul/li[2] <li> (null) ---- Added: /document/body/ul/li[2]/a <a> (null) ---- Added: /document/body/ul/li[2]/a/@href [attr] href=lenya-document:5e0975c0-e986-11dc-b04f-af2277a493d7 (null) ---- Added: /document/body/ul/li[2]/a/code <code> (null) ---- Added: /document/body/ul/li[2]/a/code/text() site: ---- Added: /document/body/ul/li[2]/text()[2] Get a ---- Added: /document/body/ul/li[2]/code <code> (null) ---- Added: /document/body/ul/li[2]/code/text() RepositorySource ---- Added: /document/body/ul/li[2]/text()[4] using the path of a document in the site structure. ---- Added: /document/body/ul/li[3] <li> (null) ---- Added: /document/body/ul/li[3]/a <a> (null) ---- Added: /document/body/ul/li[3]/a/@href [attr] href=lenya-document:5cc02ce0-e986-11dc-b04f-af2277a493d7 (null) ---- Added: /document/body/ul/li[3]/a/code <code> (null) ---- Added: /document/body/ul/li[3]/a/code/text() lenya: ---- Added: /document/body/ul/li[3]/text()[2] Get a ---- Added: /document/body/ul/li[3]/code <code> (null) ---- Added: /document/body/ul/li[3]/code/text() RepositorySource ---- Added: /document/body/ul/li[3]/text()[4] in the context of Lenya. Used mainly internally. ---- Added: /document/body/ul/li[4] <li> (null) ---- Added: /document/body/ul/li[4]/em <em> (null) ---- Added: /document/body/ul/li[4]/em/text() deprecated ---- Added: /document/body/ul/li[4]/a <a> (null) ---- Added: /document/body/ul/li[4]/a/@href [attr] href=lenya-document:5f45ed60-e986-11dc-b04f-af2277a493d7 (null) ---- Added: /document/body/ul/li[4]/a/code <code> (null) ---- Added: /document/body/ul/li[4]/a/code/text() lenyadoc: ---- Added: /document/body/ul/li[4]/text()[3] Get a ---- Added: /document/body/ul/li[4]/code <code> (null) ---- Added: /document/body/ul/li[4]/code/text() RepositorySource ---- Added: /document/body/ul/li[4]/text()[5] of a specific document using the UUID. ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
