viktoras-

Tuesday, July 13, 2010, 2:19:41 PM, you wrote:

> err., what's the simplest way of displaying all contents of an XML 
> document in a rev field? e.g. getting a list of all elements with all
> their attributes and values. Is there a simple way to do this - a one
> liner probably ;-) ?

I'm not sure this can be done in one line, but...

place a browser control and a button onto your stack and then:

-- button scrips
on mouseUp pMouseBtnNo
    local tBrowserID
    
    answer file "where is the file?"
    if it is not empty then
        put revBrowserOpen(the windowID of this stack, "file:" & it) into 
tBrowserID
        revBrowserSet tBrowserID, "rect", the rect of image "browserimage"
    end if
end mouseUp

-- 
-Mark Wieder
 [email protected]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to