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]/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 
----
Removed: /document/body/section[1]/section[3]/p[1]/code
<code> (null)
----
Removed: /document/body/section[1]/section[3]/p[1]/code/text()
name.xml
----
Removed: /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[1]/text()
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.
----
Removed: /document/body/section[1]/section[3]/p[2]/text()
/pubs/university/name.xml
----
Added: /document/body/section[1]/section[3]/p[2]/text()[1]
The following example shows how to aggregate an XML document to construct a 
breadcrumb path from 
----
Added: /document/body/section[1]/section[3]/p[2]/code
<code> (null)
----
Added: /document/body/section[1]/section[3]/p[2]/code/text()
name.xml
----
Added: /document/body/section[1]/section[3]/p[2]/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[3]
<p> (null)
----
Added: /document/body/section[1]/section[3]/p[3]/code
<code> (null)
----
Added: /document/body/section[1]/section[3]/p[3]/code/text()
/pubs/university/name.xml
----
Removed: /document/body/section[1]/section[3]/source[1]/text()
<metadata>
  <name>Springfield University</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/source[1]/text()
<metadata>  <name>Springfield University</name></metadata>
----
Removed: /document/body/section[1]/section[3]/p[3]/text()
/pubs/science/name.xml
----
Added: /document/body/section[1]/section[3]/p[4]/code
<code> (null)
----
Added: /document/body/section[1]/section[3]/p[4]/code/text()
/pubs/science/name.xml
----
Removed: /document/body/section[1]/section[3]/source[2]/text()
<metadata>
  <name>Departement of Sciences</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/source[2]/text()
<metadata>  <name>Departement of Sciences</name></metadata>
----
Removed: /document/body/section[1]/section[3]/p[4]/text()
/pubs/biology/name.xml
----
Added: /document/body/section[1]/section[3]/p[5]/code
<code> (null)
----
Added: /document/body/section[1]/section[3]/p[5]/code/text()
/pubs/biology/name.xml
----
Removed: /document/body/section[1]/section[3]/source[3]/text()
<metadata>
  <name>Biology Studies</name>
</metadata>
----
Added: /document/body/section[1]/section[3]/source[3]/text()
<metadata>  <name>Biology Studies</name></metadata>
----
Removed: /document/body/section[1]/section[3]/p[5]/text()
aggregate-fallback://name.xml
----
Added: /document/body/section[1]/section[3]/p[6]/code
<code> (null)
----
Added: /document/body/section[1]/section[3]/p[6]/code/text()
aggregate-fallback://name.xml
----
Removed: /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]/source[4]/text()
<metadata>  <name>Biology Studies</name>  <name>Departement of Sciences</name>  
<name>Springfield University</name></metadata>
----

  

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

Reply via email to