NewFromRecord (XmlDoc function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 3: Line 3:
==Syntax==
==Syntax==
{{Template:XmlDoc:NewFromRecord syntax}}
{{Template:XmlDoc:NewFromRecord syntax}}
Here's another go...
<!-- Template copied 3/22/11 by Dme -->
<p class="syntax"><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">
Line 21: Line 31:
<td>Boolean object</td></tr>
<td>Boolean object</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
[[??]] this page needs creating
[[??]] this page needs creating

Revision as of 18:36, 22 March 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

Here's another go...

%doc = %(XmlDoc):NewFromRecord[( [AttributeValues= boolean], - [AttributeNames= boolean], - [NamesToLower= boolean], - [AllowUnreversible= boolean], - [CodepageTable= boolean], - [AllowNull= boolean])]

Syntax terms

%xmlDocxmlDoc
(XmlDoc) The class name in parentheses denotes a shared method. NewFromRecord can also be invoked via a 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