Author: buildbot
Date: Mon Dec 31 10:06:45 2012
New Revision: 844376

Log:
Staging update by buildbot for ode

Modified:
    websites/staging/ode/trunk/content/   (props changed)
    websites/staging/ode/trunk/content/extensions/xpath-extensions.html

Propchange: websites/staging/ode/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec 31 10:06:45 2012
@@ -1 +1 @@
-1427065
+1427066

Modified: websites/staging/ode/trunk/content/extensions/xpath-extensions.html
==============================================================================
--- websites/staging/ode/trunk/content/extensions/xpath-extensions.html 
(original)
+++ websites/staging/ode/trunk/content/extensions/xpath-extensions.html Mon Dec 
31 10:06:45 2012
@@ -100,8 +100,11 @@
 <p><a name="XPathExtensions-insert-before"></a></p>
 <h4 id="insert-before">insert-before</h4>
 <p>This is a function that allows you to insert one or more siblings 
(specified by the $siblings argument in the signature below) before the first 
node of children (specified by the $children argument), all of whose nodes must 
have the same parent (specified by the $context argument).</p>
-<p><span class="caption">Insert Before</span>
-    ode:insert-before($context as node(), $children as node()<em>, $siblings 
as node()</em>) as node() </p>
+<p><span class="caption">Insert Before</span></p>
+<div class="codehilite"><pre><span 
class="err">ode:insert-before($context</span> <span class="err">as</span> <span 
class="err">node(),</span> <span class="err">$children</span> <span 
class="err">as</span> <span class="err">node()*,</span> <span 
class="err">$siblings</span> <span class="err">as</span> <span 
class="err">node()*)</span> <span class="err">as</span> <span 
class="err">node()</span>
+</pre></div>
+
+
 <p>By design, this function is non-updating in that it preserves the identity 
and properties of its arguments (i.e., they don't try to change the XML 
in-place). Instead, a modified copy of the context node is created, essentially 
giving it a new identity. Further, it returns a single R-value item, as opposed 
to a sequence. The example below illustrates how it may be used in the context 
of an assign activity:</p>
 <div class="codehilite"><pre><span class="nt">&lt;assign&gt;</span>
   <span class="nt">&lt;copy&gt;</span>


Reply via email to