NewFromRecord (XmlDoc function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 4: Line 4:
{{Template:XmlDoc:NewFromRecord syntax}}
{{Template:XmlDoc:NewFromRecord syntax}}


Here's another go...
<!-- Template copied 3/22/11 by Dme -->
<p class="syntax2"><span class="term">%doc</span><span class="literal"> =</span> <span class="literal">%(XmlDoc):NewFromRecord</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" 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" title="Boolean">CodepageTable=</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">AllowNull=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
And one more (Lucida Sans Typewriter)
<!-- Template copied 3/22/11 by JAL2 -->
<p class="syntax3"><span class="term">%doc</span><span class="literal"> =</span> <span class="literal">%(XmlDoc):NewFromRecord</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" 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" title="Boolean">CodepageTable=</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">AllowNull=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
And (Lucida Console)
<!-- Template copied 3/22/11 by JAL2 -->
<p class="syntax4"><span class="term">%doc</span><span class="literal"> =</span> <span class="literal">%(XmlDoc):NewFromRecord</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" 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" title="Boolean">CodepageTable=</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">AllowNull=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>


===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%xmlDoc</th><td>xmlDoc</td></tr>
<tr><th>%doc</th><td>xmlDoc</td></tr>
<tr><th>(XmlDoc)</th>
<tr><th><var>%(XmlDoc)</var></th>
<td>The class name in parentheses denotes a shared method. NewFromRecord can also be invoked via a XmlDoc object variable, which may be null.</td></tr>
<td>The class name in parentheses denotes a shared method. <var>NewFromRecord</var> can also be invoked via an <var>XmlDoc</var> object variable, which may be <var>Null</var>.</td></tr>
<tr><th>attributeValues</th>
<tr><th><var>AttributeValues</var></th>
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
<tr><th>attributeNames</th>
<tr><th><var>AttributeNames</var></th>
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
<tr><th>namesToLower</th>
<tr><th><var>NamesToLower</var></th>
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
<tr><th>allowUnreversible</th>
<tr><th><var>AllowUnreversible</var></th>
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
<tr><th>codepageTable</th>
<tr><th><var>CodepageTable</var></th>
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
<tr><th>allowNull</th>
<tr><th><var>AllowNull</var></th>
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
</table>
</table>

Revision as of 22:11, 1 June 2011

Create a new XmlDoc from the current record (XmlDoc class)

[Requires Janus SOAP]


Syntax

%doc = [%(XmlDoc):]NewFromRecord[( [AttributeValues= boolean], - [AttributeNames= boolean], - [NamesToLower= boolean], - [AllowUnreversible= boolean], - [CodepageTable= boolean], - [Base64Encode= boolean], - [CharacterMap= characterToUnicodeMap], - [Allownull= boolean], - [Recordnumber= number], [File= string])] Throws CharacterTranslationException


Syntax terms

%docxmlDoc
%(XmlDoc) The class name in parentheses denotes a shared method. NewFromRecord can also be invoked via an XmlDoc object variable, which may be Null.
AttributeValues Boolean object
AttributeNames Boolean object
NamesToLower Boolean object
AllowUnreversible Boolean object
CodepageTable Boolean object
AllowNull Boolean object

Usage notes

?? this page needs creating

Examples

See also