Class XmlBaseStack
Stack used for tracking xml:base paths while parsing XML Catalogs.
Inherited Members
Namespace: net.xmlcatalog
Assembly: Algenta.Colectica.Model.dll
Syntax
public class XmlBaseStack
Methods
GetXmlBase()
Returns the current cumulative "xml:base" value.
Declaration
public Uri GetXmlBase()
Returns
Type | Description |
---|---|
Uri | The current xml:base URI |
Peek()
Returns the xml:base URI from the top of the stack, without removing it.
Declaration
public Uri Peek()
Returns
Type | Description |
---|---|
Uri | The xml:base URI from the top of the stack |
Pop()
Pops (removes) the xml:base URI at the top of the stack and returns it.
Declaration
public Uri Pop()
Returns
Type | Description |
---|---|
Uri | The xml:base URI from the top of the stack |
Push(string)
Pushes an xml:base URI onto the top of the stack.
Declaration
public void Push(string baseUri)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | An absolute or relative URI |
Push(Uri)
Pushes an xml:base URI onto the top of the stack.
Declaration
public void Push(Uri baseUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | baseUri | An absolute URI |