Author: vanto
Date: Mon Dec 31 10:22:27 2012
New Revision: 1427069

URL: http://svn.apache.org/viewvc?rev=1427069&view=rev
Log:
fix formatting.

Modified:
    ode/site/trunk/content/extensions/xpath-extensions.mdtext

Modified: ode/site/trunk/content/extensions/xpath-extensions.mdtext
URL: 
http://svn.apache.org/viewvc/ode/site/trunk/content/extensions/xpath-extensions.mdtext?rev=1427069&r1=1427068&r2=1427069&view=diff
==============================================================================
--- ode/site/trunk/content/extensions/xpath-extensions.mdtext (original)
+++ ode/site/trunk/content/extensions/xpath-extensions.mdtext Mon Dec 31 
10:22:27 2012
@@ -45,7 +45,9 @@ By design, this function is non-updating
 
 For those familiar with the [XQuery Update 
Facility](http://www.w3.org/TR/2008/CR-xquery-update-10-20080801/), the above 
example is semantically equivalent to the expression shown below:
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>XQuery Equivalent</b></div><div 
class="codeContent panelContent">
+<div class="caption">XQuery Equivalent</div>
+
+    :::text
     insert nodes $siblings before $parent/child::node[position()=last()] 
 
 
@@ -54,7 +56,9 @@ For those familiar with the [XQuery Upda
 
 This is a function that allows you to insert one or more siblings (specified 
by the $siblings argument in the signature below) after the last node of 
children (specified by the $children argument), all of whose nodes must have 
the same parent (specified by the $context argument).
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Insert After</b></div><div 
class="codeContent panelContent">
+<div class="caption">Insert After</div>
+
+    :::text
     ode:insert-after($context as node(), $children as node()*, $siblings as 
node()*) as node() 
 
 
@@ -71,7 +75,9 @@ By design, this function is non-updating
 
 For those familiar with the [XQuery Update 
Facility](http://www.w3.org/TR/2008/CR-xquery-update-10-20080801/), the above 
example is semantically equivalent to the expression shown below:
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>XQuery Equivalent</b></div><div 
class="codeContent panelContent">
+<div class="caption">XQuery Equivalent</div>
+
+    :::text
     insert nodes $siblings after $parent/child::node()
 
 
@@ -81,7 +87,9 @@ For those familiar with the [XQuery Upda
 
 This is a function that allows you to insert the node(s) (specified by the 
$children argument in the signature below) as the first child(ren) of a given 
context node (specified by the $context argument).
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Insert As First Into</b></div><div 
class="codeContent panelContent">
+<div class="caption">Insert As First Into</div>
+
+    :::text
     ode:insert-as-first-into($context as node(), $children as node()*) as 
node() 
 
 
@@ -98,7 +106,9 @@ By design, this function is non-updating
 
 For those familiar with the [XQuery Update 
Facility](http://www.w3.org/TR/2008/CR-xquery-update-10-20080801/), the above 
example is semantically equivalent to the expression shown below:
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>XQuery Equivalent</b></div><div 
class="codeContent panelContent">
+<div class="caption">XQuery Equivalent</div>
+
+    :::text
     insert nodes $children as first into $parent 
 
 
@@ -107,7 +117,9 @@ For those familiar with the [XQuery Upda
 
 This is a function that allows you to insert the node(s) (specified by the 
$children argument in the signature below) as the last child(ren) of a given 
context node (specified by the $context argument).
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Insert As Last Into</b></div><div 
class="codeContent panelContent">
+<div class="caption">Insert As Last Into</div>
+
+    :::text
     ode:insert-as-last-into($context as node(), $children as node()*) as 
node() 
 
 
@@ -124,7 +136,9 @@ By design, this function is non-updating
 
 For those familiar with the [XQuery Update 
Facility](http://www.w3.org/TR/2008/CR-xquery-update-10-20080801/), the above 
example is semantically equivalent to the expression shown below:
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>XQuery Equivalent</b></div><div 
class="codeContent panelContent">
+<div class="caption">XQuery Equivalent</div>
+
+    :::text
     insert nodes $children as last into $parent 
 
 
@@ -134,7 +148,9 @@ For those familiar with the [XQuery Upda
 
 This is a function that allows you to delete one or more node(s) (specified by 
the $children argument in the signature below) from its parent (specified by 
the $context argument).
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Delete</b></div><div class="codeContent 
panelContent">
+<div class="caption">Delete</div>
+
+    :::text
     ode:delete($context as node(), $children as node()*) as node() 
 
 
@@ -151,7 +167,9 @@ By design, this function is non-updating
 
 For those familiar with the [XQuery Update 
Facility](http://www.w3.org/TR/2008/CR-xquery-update-10-20080801/), the above 
example is semantically equivalent to the expression shown below:
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>XQuery Equivalent</b></div><div 
class="codeContent panelContent">
+<div class="caption">XQuery Equivalent</div>
+
+    :::text
     delete nodes $children 
 
 
@@ -160,7 +178,9 @@ For those familiar with the [XQuery Upda
 
 This is a function that allows you to rename the context node (specified by 
the $context argument in the signature below) as per the given name (specified 
by $item, which is either a QName, Element or String).
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Rename</b></div><div class="codeContent 
panelContent">
+<div class="caption">Rename</div>
+
+    :::text
     ode:rename($context as node(), $name as item()) as node() 
 
 
@@ -177,7 +197,9 @@ By design, this function is non-updating
 
 For those familiar with the [XQuery Update 
Facility](http://www.w3.org/TR/2008/CR-xquery-update-10-20080801/), the above 
example is semantically equivalent to the expression shown below:
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>XQuery Equivalent</b></div><div 
class="codeContent panelContent">
+<div class="caption">XQuery Equivalent</div>
+
+    :::text
     rename $person as fn:QName("http://www.example.com/example";, "manager")
 
 
@@ -199,7 +221,7 @@ It's impossible to split a given string 
 
 If the source element contains a list like "joe, paul, fred" the target 
variable will be assigned the sequence of elements:
 
-
+    :::xml
     <user>joe</user>
     <user>paul</user>
     <user>fred</user>
@@ -207,6 +229,7 @@ If the source element contains a list li
 
 Alternatively this function can take a fourth parameter that would be the 
namespace of the elements used to wrap the split strings:
 
+    :::text
     ode:split-to-elements(stringToSplit, separator, targetElement, 
targetNamespace)
 
 
@@ -240,7 +263,9 @@ Similar to `composeURL` but undefined va
 
 This is a function that serializes a DOM node (specified by the $node argument 
in the signature below) into a string.
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Dom To String</b></div><div 
class="codeContent panelContent">
+<div class="caption">Dom To String</div>
+
+    :::text
     ode:dom-to-string($node as node()) as xs:string
 
 
@@ -249,7 +274,9 @@ This is a function that serializes a DOM
 
 This is a function that allows you to retrieve the value of a property, 
defined in deploy.xml for the current process, with the given name (specified 
by the $name argument in the signature below, which is either a QName, String, 
Element or Single-Valued List).
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div 
class="codeHeader panelHeader" style="border-bottom-width: 
1px;border-bottom-style: solid;"><b>Process Property</b></div><div 
class="codeContent panelContent">
+<div class="caption">Process Property</div>
+
+    :::text
     ode:process-property($name as item()) as node() 
 
 
@@ -319,12 +346,14 @@ where, the property called "epr" is defi
 <a name="XPathExtensions-InstanceId"></a>
 #### Instance Id
 
+    :::text
     $ode:pid
 
 
 <a name="XPathExtensions-ProcessQName"></a>
 #### Process QName
 
+    :::text
     $ode:processQName
 
 
@@ -332,6 +361,7 @@ where, the property called "epr" is defi
 #### CurrentEventDateTime
 This is equivalent to current-dateTime() XPath function, which works with 
instance replayer. 
 
+    :::text
     $ode:currentEventDateTime
 
 


Reply via email to