Javax.Xml.Transform.TransformerFactory.GetAssociatedStylesheet Method

Syntax

[Android.Runtime.Register("getAssociatedStylesheet", "(Ljavax/xml/transform/Source;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/transform/Source;", "GetGetAssociatedStylesheet_Ljavax_xml_transform_Source_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
public abstract ISource GetAssociatedStylesheet (ISource source, string media, string title, string charset)

Parameters

source
The XML source document.
media
The media attribute to be matched. May be null, in which case the preferred templates will be used (i.e. alternate = no).
title
The value of the title attribute to match. May be null.
charset
The value of the charset attribute to match. May be null.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Javax.Xml.Transform.TransformerConfigurationExceptionAn Exception is thrown if an error occurs during parsing of the source.

Remarks

Get the stylesheet specification(s) associated with the XML Source document via the that match the given criteria. Note that it is possible to return several stylesheets, in which case they are applied as if they were a list of imports or cascades in a single stylesheet.

[Android Documentation]

Requirements

Namespace: Javax.Xml.Transform
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8