Project

Profile

Help

Shouldn't parseXML() be defined as a global function?

Added by Eric van der Vlist about 11 years ago

That doesn't seem to be the case in Saxon CE 1.1 (I am running a version built from "github latest commit":https://github.com/Saxonica/Saxon-CE/commit/837f04ff88b0eed8dfb868ee4018ab8cdaa9c5e9 and had to use ixsl:call to explicitly invoke this function on the Saxon object.

The dummy declaration sent by Michael Kay on saxon-users include a declaration for this function:

    
        
    

And I have been surprised to see I wasn't able to call this function directly.

Thanks,

Eric


Replies (1)

RE: Shouldn't parseXML() be defined as a global function? - Added by Eric van der Vlist about 11 years ago

Of course, js:Saxon.parseXML() would be perfect too and that should be possible with the feature described "here on saxon-help":http://sourceforge.net/mailarchive/message.php?msg_id=31429681

In that case, shouldn't other functions (such as parseXML) be also accessed through the Saxon object than as global functions?

    (1-1/1)

    Please register to reply