baseURL Property (Visual Basic)


Sets the base URL for the current document. The baseURL property is stored as a string.

Usage Syntax

For getting the base URL:

strbaseURL = oSAXXMLReader.baseURL  

For setting the base URL:

oSAXXMLReader.baseURL = strBaseURL  

Return Values

A trappable error if the application tries to set the baseURL property while parsing is in progress.


If an URL does not end with a slash or backslash, the text following the backslash is considered the destination file name. For example, "" sets the base URL to "" while "" sets the base URL to "".


Implemented in: MSXML 3.0 and later

Applies to

ISAXXMLReader Interface

See Also

secureBaseURL Property (Visual Basic)