Document: Fallback Protocol
URL: 
https://lenya.zones.apache.org/cms/docu/authoring/docu20/reference/protocols/fallback.html
Changed by user: Andreas Hartmann (andreas)


----
Removed: /document/body/section[1]/dl
<dl> (null)
----
Removed: /document/body/section[1]/dl/dt[1]
<dt> (null)
----
Removed: /document/body/section[1]/dl/dt[1]/text()
fallback://
----
Removed: /document/body/section[1]/dl/dd[1]
<dd> (null)
----
Removed: /document/body/section[1]/dl/dd[1]/text()
Address a resource.
----
Removed: /document/body/section[1]/dl/dt[2]
<dt> (null)
----
Removed: /document/body/section[1]/dl/dt[2]/text()
template-fallback://
----
Removed: /document/body/section[1]/dl/dd[2]
<dd> (null)
----
Removed: /document/body/section[1]/dl/dd[2]/text()
Address the template, i.e. the parent resource, of a resource. This is 
especially useful to import XSLT stylesheets.
----
Removed: /document/body/section[1]/dl/dt[3]
<dt> (null)
----
Removed: /document/body/section[1]/dl/dt[3]/text()
aggregate-fallback://
----
Removed: /document/body/section[1]/dl/dd[3]
<dd> (null)
----
Removed: /document/body/section[1]/dl/dd[3]/text()
Aggregate all resources in the template hierarchy, starting with the current 
publication. This works only for XML resources. The document element of the 
aggregated document is the document element of the first encountered dcument. 
The document elements of the other XML documents are stripped.
----
Added: /document/body/section[1]/section[1]
<section> (null)
----
Added: /document/body/section[1]/section[1]/title
<title> (null)
----
Added: /document/body/section[1]/section[1]/title/text()
fallback://
----
Added: /document/body/section[1]/section[1]/p
<p> (null)
----
Added: /document/body/section[1]/section[1]/p/text()[1]
The 
----
Added: /document/body/section[1]/section[1]/p/em
<em> (null)
----
Added: /document/body/section[1]/section[1]/p/em/text()
fallback://
----
Added: /document/body/section[1]/section[1]/p/text()[3]
 protocol is used to address the first encountered instance of a resourcein the 
template traversal order.
----
Added: /document/body/section[1]/section[2]
<section> (null)
----
Added: /document/body/section[1]/section[2]/title
<title> (null)
----
Added: /document/body/section[1]/section[2]/title/text()
template-fallback://
----
Added: /document/body/section[1]/section[2]/p
<p> (null)
----
Added: /document/body/section[1]/section[2]/p/text()[1]
The 
----
Added: /document/body/section[1]/section[2]/p/em
<em> (null)
----
Added: /document/body/section[1]/section[2]/p/em/text()
template-fallback://
----
Added: /document/body/section[1]/section[2]/p/text()[3]
 protocol is used to address the second encountered instance of a resourcein 
the template traversal order. This is especially useful to import XSLT 
stylesheets.
----
Added: /document/body/section[1]/section[3]
<section> (null)
----
Added: /document/body/section[1]/section[3]/title
<title> (null)
----
Added: /document/body/section[1]/section[3]/title/text()
aggregate-fallback://
----
Added: /document/body/section[1]/section[3]/p[1]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[1]/text()[1]
This protocol aggregates all resources in the template hierarchy, starting with 
the current publication. This works only for XML resources. The document 
element of the aggregated document is the document element of the first 
encountered dcument. The document elements of the other XML documents are 
stripped. The following example shows how to aggregate an XML document to 
construct a breadcrumb path from 
----
Added: /document/body/section[1]/section[3]/p[1]/code
<code> (null)
----
Added: /document/body/section[1]/section[3]/p[1]/code/text()
name.xml
----
Added: /document/body/section[1]/section[3]/p[1]/text()[3]
 files which are present in all publications. The university publication is at 
the top of the hierarchy, the biology publication at the bottom:
----
Added: /document/body/section[1]/section[3]/p[2]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[2]/text()
/pubs/university/name.xml
----
Added: /document/body/section[1]/section[3]/source[1]
<source> (null)
----
Added: /document/body/section[1]/section[3]/source[1]/@space
[attr] space=preserve (http://www.w3.org/XML/1998/namespace)
----
Added: /document/body/section[1]/section[3]/source[1]/text()
<metadata>
  <name>Springfield University</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/p[3]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[3]/text()
/pubs/science/name.xml
----
Added: /document/body/section[1]/section[3]/source[2]
<source> (null)
----
Added: /document/body/section[1]/section[3]/source[2]/@space
[attr] space=preserve (http://www.w3.org/XML/1998/namespace)
----
Added: /document/body/section[1]/section[3]/source[2]/text()
<metadata>
  <name>Departement of Sciences</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/p[4]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[4]/text()
/pubs/biology/name.xml
----
Added: /document/body/section[1]/section[3]/source[3]
<source> (null)
----
Added: /document/body/section[1]/section[3]/source[3]/@space
[attr] space=preserve (http://www.w3.org/XML/1998/namespace)
----
Added: /document/body/section[1]/section[3]/source[3]/text()
<metadata>
  <name>Biology Studies</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/p[5]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[5]/text()
aggregate-fallback://name.xml
----
Added: /document/body/section[1]/section[3]/source[4]
<source> (null)
----
Added: /document/body/section[1]/section[3]/source[4]/@space
[attr] space=preserve (http://www.w3.org/XML/1998/namespace)
----
Added: /document/body/section[1]/section[3]/source[4]/text()
<metadata>
  <name>Biology Studies</name>
  <name>Departement of Sciences</name>
  <name>Springfield University</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/p[6]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[6]/text()
This aggregated XML document can easily be transformed to a breadcrumb path (in 
this simple example without links) using an XSLT stylesheet.
----

  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to