Alaska Software Inc. - ASXML - Content
Username: Password:
AuthorTopic: ASXML - Content
David Bray ASXML - Content
on Tue, 15 Jul 2008 11:05:18 +1000
The content of
        XMLGetTag
is not the same as the content dumped in the code block of
        XMLDocSetAction

not really looking for an answer => the answer is use XMLGetTag

The documentation AsXML says
    XMLDocSetAction

    CodeBlock {|cTagName, xTagContent, xTagAttr, nTagHandle| ... }

    and;
        xTagContent  Content of XML tag as character string or NIL

    but it returns NIL when looking for //Version on instance

<?xml version="1.0" encoding="utf-8" ?>

<root>
    <Version>4.04</Version>
</root>

the result is

Name   :  Version
Handle :    14173648
Content:  NIL
Attrib.:


but if I query the tag
        XMLGetTag(nHandle, @aMember)

it returns;

--- Tag ( 14173648 )---
Name   :  Version
Content:  4.04
Attrib :  NIL
Child  :  {  14173840}





David Bray
http://www.brayworth.com.au
david@brayworth.com.au

/*
 This email is but an indication and in no
 way a complete and/or faithful statement.
*/