|
|
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> |