MonobjcMonobjc Documented Class Library
ObjectByApplyingXSLTAtURLArgumentsError Method (xsltURL, arguments, error)
NamespacesMonobjc.FoundationNSXMLDocumentObjectByApplyingXSLTAtURLArgumentsError(NSURL, NSDictionary, NSError%)

Applies the XSLT pattern rules and templates located at a specified URL to the receiver and returns a document object containing transformed XML markup or an NSData object containing plain text, RTF text, and so on.

Original signature is '- (id)objectByApplyingXSLTAtURL:(NSURL *)xsltURL arguments:(NSDictionary *)arguments error:(NSError **)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ObjectByApplyingXSLTAtURLArgumentsError(
	NSURL xsltURL,
	NSDictionary arguments,
	out NSError error
)
Public Overridable Function ObjectByApplyingXSLTAtURLArgumentsError ( _
	xsltURL As NSURL, _
	arguments As NSDictionary, _
	<OutAttribute> ByRef error As NSError _
) As Id
public:
virtual Id^ ObjectByApplyingXSLTAtURLArgumentsError(
	NSURL^ xsltURL, 
	NSDictionary^ arguments, 
	[OutAttribute] NSError^% error
)
Parameters
xsltURL (NSURL)
An NSURL object specifying a valid URL.
arguments (NSDictionary)
A dictionary containing NSString key-value pairs that are passed as runtime parameters to the XSLT processor. Pass in nil if you have no parameters to pass.
error (NSError%)
If an error occurs, indirectly returns an NSError object encapsulating error or warning messages generated by XSLT processing or from an attempt to connect to a website identified by the URL.
Return Value
Depending on intended output, the returns an NSXMLDocument object or an NSData data containing transformed XML or HTML markup. If the message is supposed to create plain text or RTF, then an NSData object is returned, otherwise an XML document object. The method returns nil if XSLT processing did not succeed.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)