XmlNode methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
Line 2: Line 2:
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
{{Template:Syntax_list_header|class=XmlNode}}
{{Template:Syntax_list_header|class=XmlNode}}
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[AddAttribute (XmlNode function)|AddAttribute]]</span><span class="literal">(</span> <span class="term">name</span><span class="comma">,</span> <span class="term">value</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">uri</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[AddAttribute (XmlNode function)|AddAttribute]]</span><span class="literal">(</span> <span class="term" title="Unicode">name</span><span class="comma">,</span> <span class="term" title="Unicode">value</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">uri</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddComment (XmlDoc/XmlNode function)|AddComment]]</span><span class="literal">(</span> <span class="term">comment</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddComment (XmlDoc/XmlNode function)|AddComment]]</span><span class="literal">(</span> <span class="term" title="Unicode">comment</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddElement (XmlDoc/XmlNode function)|AddElement]]</span><span class="literal">(</span> <span class="term">name</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">value</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">uri</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddElement (XmlDoc/XmlNode function)|AddElement]]</span><span class="literal">(</span> <span class="term" title="Unicode">name</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">value</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">uri</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nod</span><span class="literal">:[[AddNamespace (XmlNode subroutine)|AddNamespace]]</span><span class="literal">(</span> <span class="term">prefix</span><span class="comma">,</span> <span class="term">uri</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nod</span><span class="literal">:[[AddNamespace (XmlNode subroutine)|AddNamespace]]</span><span class="literal">(</span> <span class="term" title="Unicode">prefix</span><span class="comma">,</span> <span class="term" title="Unicode">uri</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddPI (XmlDoc/XmlNode function)|AddPI]]</span><span class="literal">(</span> <span class="term">name</span><span class="comma">,</span> <span class="term">value</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddPI (XmlDoc/XmlNode function)|AddPI]]</span><span class="literal">(</span> <span class="term" title="Unicode">name</span><span class="comma">,</span> <span class="term" title="Unicode">value</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddSubtree (XmlDoc/XmlNode function)|AddSubtree]]</span><span class="literal">(</span> <span class="term">xmlNode</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">DefaultURI=</span> <span class="term">defaultURI</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[AddSubtree (XmlDoc/XmlNode function)|AddSubtree]]</span><span class="literal">(</span> <span class="term" title="XmlNode">xmlNode</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Unicode">DefaultURI=</span> <span class="term" title="Unicode">unicode</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[AddText (XmlNode function)|AddText]]</span><span class="literal">(</span> <span class="term">text</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[AddText (XmlNode function)|AddText]]</span><span class="literal">(</span> <span class="term" title="Unicode">text</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nod</span><span class="literal">:[[AppendValue (XmlNode subroutine)|AppendValue]]</span><span class="literal">(</span> <span class="term">text</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nod</span><span class="literal">:[[AppendValue (XmlNode subroutine)|AppendValue]]</span><span class="literal">(</span> <span class="term" title="Unicode">text</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[Audit (XmlDoc/XmlNode subroutine)|Audit]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">options</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[Audit (XmlDoc/XmlNode subroutine)|Audit]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">options</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[DeepCopy (XmlNode function)|DeepCopy]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[DeepCopy (XmlNode function)|DeepCopy]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[DefaultURI (XmlDoc/XmlNode function)|DefaultURI]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[DefaultURI (XmlDoc/XmlNode function)|DefaultURI]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[DeleteSubtree (XmlDoc/XmlNode subroutine)|DeleteSubtree]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">unicode</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[DeleteSubtree (XmlDoc/XmlNode subroutine)|DeleteSubtree]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">unicode</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%boolean</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Exists (XmlDoc/XmlNode function)|Exists]]</span><span class="literal">(</span> <span class="term">unicode</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%boolean</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Exists (XmlDoc/XmlNode function)|Exists]]</span><span class="literal">(</span> <span class="term" title="Unicode">unicode</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertCommentBefore (XmlNode function)|InsertCommentBefore]]</span><span class="literal">(</span> <span class="term">comment</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertCommentBefore (XmlNode function)|InsertCommentBefore]]</span><span class="literal">(</span> <span class="term" title="Unicode">comment</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertElementBefore (XmlNode function)|InsertElementBefore]]</span><span class="literal">(</span> <span class="term">name</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">value</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">uri</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertElementBefore (XmlNode function)|InsertElementBefore]]</span><span class="literal">(</span> <span class="term" title="Unicode">name</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">value</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">uri</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertPIBefore (XmlNode function)|InsertPIBefore]]</span><span class="literal">(</span> <span class="term">name</span><span class="comma">,</span> <span class="term">value</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertPIBefore (XmlNode function)|InsertPIBefore]]</span><span class="literal">(</span> <span class="term" title="Unicode">name</span><span class="comma">,</span> <span class="term" title="Unicode">value</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertSubtreeBefore (XmlNode function)|InsertSubtreeBefore]]</span><span class="literal">(</span> <span class="term">xmlNode</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">DefaultURI=</span> <span class="term">defaultURI</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertSubtreeBefore (XmlNode function)|InsertSubtreeBefore]]</span><span class="literal">(</span> <span class="term" title="XmlNode">xmlNode</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Unicode">DefaultURI=</span> <span class="term" title="Unicode">unicode</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertTextBefore (XmlNode function)|InsertTextBefore]]</span><span class="literal">(</span> <span class="term">text</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%object</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nod</span><span class="literal">:[[InsertTextBefore (XmlNode function)|InsertTextBefore]]</span><span class="literal">(</span> <span class="term" title="Unicode">text</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Length (XmlDoc/XmlNode function)|Length]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Length (XmlDoc/XmlNode function)|Length]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">AttributeValues=</span> <span class="term">attributeValues</span><span class="squareb">]</span><span class="comma">,</span>                       -
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">AttributeValues=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">AttributeNames=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span>     -
                    <span class="squareb">[</span><span class="literal">AttributeNames=</span> <span class="term">attributeNames</span><span class="squareb">]</span><span class="comma">,</span>                         -
                     <span class="squareb">[</span><span class="literal" title="Boolean">NamesToLower=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">AllowUnreversible=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span>     -
                     <span class="squareb">[</span><span class="literal">NamesToLower=</span> <span class="term">namesToLower</span><span class="squareb">]</span><span class="comma">,</span>                             -
                     <span class="squareb">[</span><span class="literal" title="Boolean">CodepageTable=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                    <span class="squareb">[</span><span class="literal">AllowUnreversible=</span> <span class="term">allowUnreversible</span><span class="squareb">]</span><span class="comma">,</span>                   -
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[LoadFromStringlist (XmlDoc/XmlNode function)|LoadFromStringlist]]</span><span class="literal">(</span> <span class="term" title="Stringlist">stringlist</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
                     <span class="squareb">[</span><span class="literal">CodepageTable=</span> <span class="term">codepageTable</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[LoadXml (XmlDoc/XmlNode function)|LoadXml]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[LoadFromStringlist (XmlDoc/XmlNode function)|LoadFromStringlist]]</span><span class="literal">(</span> <span class="term">stringlist</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">string</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[LocalName (XmlDoc/XmlNode function)|LocalName]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">name</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[LoadXml (XmlDoc/XmlNode function)|LoadXml]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">string</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[LocalName (XmlDoc/XmlNode function)|LocalName]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">name</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[Next (XmlNode function)|Next]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[Next (XmlNode function)|Next]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%boolean</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[NoEmptyElement (XmlNode property)|NoEmptyElement]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%boolean</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[NoEmptyElement (XmlNode property)|NoEmptyElement]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Prefix (XmlDoc/XmlNode function)|Prefix]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">prefix</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Prefix (XmlDoc/XmlNode function)|Prefix]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">prefix</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[PrefixURI (XmlDoc/XmlNode function)|PrefixURI]]</span><span class="literal">(</span> <span class="term">prefix</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[PrefixURI (XmlDoc/XmlNode function)|PrefixURI]]</span><span class="literal">(</span> <span class="term" title="Unicode">prefix</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[Previous (XmlNode function)|Previous]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[Previous (XmlNode function)|Previous]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[Print (XmlDoc/XmlNode subroutine)|Print]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">options</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[Print (XmlDoc/XmlNode subroutine)|Print]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">options</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Qname (XmlDoc/XmlNode function)|Qname]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">qname</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Qname (XmlDoc/XmlNode function)|Qname]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">qname</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[SelectCount (XmlDoc/XmlNode function)|SelectCount]]</span><span class="literal">(</span> <span class="term">unicode</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[SelectCount (XmlDoc/XmlNode function)|SelectCount]]</span><span class="literal">(</span> <span class="term" title="Unicode">unicode</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[SelectNodes (XmlDoc/XmlNode function)|SelectNodes]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[SelectNodes (XmlDoc/XmlNode function)|SelectNodes]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[SelectSingleNode (XmlDoc/XmlNode function)|SelectSingleNode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[SelectSingleNode (XmlDoc/XmlNode function)|SelectSingleNode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Serial (XmlDoc/XmlNode function)|Serial]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">options</span><span class="squareb">]</span><span class="comma">,</span>                                       -
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Serial (XmlDoc/XmlNode function)|Serial]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">options</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">AddTrailingDelimiter=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                    <span class="squareb">[</span><span class="literal">AddTrailingDelimiter=</span> <span class="term">addTrailingDelimiter</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[ToXPathString (XmlDoc/XmlNode function)|ToXPathString]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[ToXPathString (XmlDoc/XmlNode function)|ToXPathString]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[ToXPathStringlist (XmlDoc/XmlNode function)|ToXPathStringlist]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[ToXPathStringlist (XmlDoc/XmlNode function)|ToXPathStringlist]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">options</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">nr</span><span class="literal">:[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">options</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xmlNodeType</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Type (XmlDoc/XmlNode function)|Type]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xmlNodeType</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Type (XmlDoc/XmlNode function)|Type]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[URI (XmlDoc/XmlNode function)|URI]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[URI (XmlDoc/XmlNode function)|URI]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[Validate (XmlDoc/XmlNode function)|Validate]]</span><span class="literal">(</span> <span class="term" title="String">schema</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="String">options</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%number</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">nr</span><span class="literal">:[[Validate (XmlDoc/XmlNode function)|Validate]]</span><span class="literal">(</span> <span class="term">schema</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">options</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Value (XmlDoc/XmlNode property)|Value]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[Value (XmlDoc/XmlNode property)|Value]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[ValueDefault (XmlDoc/XmlNode function)|ValueDefault]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Unicode">value</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%unicode</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[ValueDefault (XmlDoc/XmlNode function)|ValueDefault]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">value</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[XPathNodeID (XmlDoc/XmlNode function)|XPathNodeID]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Unicode">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nr</span><span class="literal">:[[XPathNodeID (XmlDoc/XmlNode function)|XPathNodeID]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">xpath</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[XmlDoc (XmlNode function)|XmlDoc]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">nod</span><span class="literal">:[[XmlDoc (XmlNode function)|XmlDoc]]</span></p>

Revision as of 16:43, 23 January 2011

The syntax for each of the XmlNode class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of XmlNode methods.

[%object=] nod:AddAttribute( name, value, [uri])

[%object=] nr:AddComment( comment)

[%object=] nr:AddElement( name, [value], [uri])

nod:AddNamespace( prefix, uri)

[%object=] nr:AddPI( name, value)

[%object=] nr:AddSubtree( xmlNode, [DefaultURI= unicode])

[%object=] nod:AddText( text)

nod:AppendValue( text)

nr:Audit[( [xpath], [options])]

%object= nod:DeepCopy

%unicode= nr:DefaultURI[( [xpath])]

nr:DeleteSubtree[( [unicode])]

%boolean= nr:Exists( unicode)

[%object=] nod:InsertCommentBefore( comment)

[%object=] nod:InsertElementBefore( name, [value], [uri])

[%object=] nod:InsertPIBefore( name, value)

[%object=] nod:InsertSubtreeBefore( xmlNode, [DefaultURI= unicode])

[%object=] nod:InsertTextBefore( text)

%number= nr:Length[( [xpath])]

nr:LoadFromRecord[( [AttributeValues= boolean], [AttributeNames= boolean], - [NamesToLower= boolean], [AllowUnreversible= boolean], - [CodepageTable= boolean])]

[%number=] nr:LoadFromStringlist( stringlist, [string])

[%number=] nr:LoadXml( string, [string])

%unicode= nr:LocalName[( [name])]

%object= nod:Next

%boolean= nod:NoEmptyElement

%unicode= nr:Prefix[( [prefix])]

%unicode= nr:PrefixURI( prefix, [xpath])

%object= nod:Previous

nr:Print[( [xpath], [options])]

%unicode= nr:Qname[( [qname])]

%number= nr:SelectCount( unicode)

%object= nr:SelectNodes[( [xpath])]

%object= nr:SelectSingleNode[( [xpath])]

%string= nr:Serial[( [xpath], [options], [AddTrailingDelimiter= boolean])]

%string= nr:ToXPathString[( [xpath])]

%object= nr:ToXPathStringlist[( [xpath])]

nr:Trace[( [xpath], [options])]

%xmlNodeType= nr:Type[( [xpath])]

%unicode= nr:URI[( [xpath])]

[%number=] nr:Validate( schema, [options])

%unicode= nr:Value[( [xpath])]

%unicode= nr:ValueDefault[( [xpath], [value])]

%object= nr:XPathNodeID[( [xpath])]

%object= nod:XmlDoc