NewFromRecord (XmlDoc function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 6: Line 6:
Here's another go...
Here's another go...
<!-- Template copied 3/22/11 by Dme -->
<!-- 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>                  -
<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">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">NamesToLower=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span>                      -

Revision as of 19:49, 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