Tamino API for .NET

TaminoUri.GetXmlBase Method 

Given a document URI and an element of that document, computes the xml:base of the infoset for that element.

[Visual Basic]
Overloads Public Shared Function GetXmlBase( _
   ByVal baseUri As TaminoUri, _
   ByVal node As XmlNode _
) As TaminoUri
[C#]
public static TaminoUri GetXmlBase(
   TaminoUri baseUri,
   XmlNode node
);

Parameters

baseUri
base URI of the document
node
an element of the document

Return Value

computed xml:base

Remarks

If the algorithm recognises that it is in a Tamino serialization rather than a document, it stops at the ino:id/ino:docname. It then constructs a URI using the ino:docname (if it exists), otherwise the ino:id is used.

See Also

TaminoUri Class | TaminoUri Members | SoftwareAG.Tamino.Api Namespace