Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.
Document loading starts from the current position in the stream.
defnavigate(self,content,base_uri):...
Parameter
Type
Description
content
io.RawIOBase
The document content.
base_uri
str
The base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL.
Exceptions
Exception
Description
ArgumentNullException
baseUri is null.
navigate
Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.
Document loading starts from the current position in the stream.