Class SparqlXsltWriter
Class for generating arbitrary XML Output from SPARQL Result Sets by transforming the XML Results Format via an XSLT stylesheet.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public class SparqlXsltWriter : SparqlXmlWriter, ISparqlResultsWriter
Constructors
| Improve this Doc View SourceSparqlXsltWriter(String)
Creates a new SPARQL XSLT Writer.
Declaration
public SparqlXsltWriter(string stylesheetUri)
Parameters
Type | Name | Description |
---|---|---|
System.String | stylesheetUri | Stylesheet URI. |
SparqlXsltWriter(Uri)
Creates a new SPARQL XSLT Writer.
Declaration
public SparqlXsltWriter(Uri stylesheetUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | stylesheetUri | Stylesheet URI. |
Methods
| Improve this Doc View SourceSave(SparqlResultSet, TextWriter)
Saves a SPARQL Result Set to the given Text Writer.
Declaration
public override void Save(SparqlResultSet results, TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
System.IO.TextWriter | output | Text Writer to write to. |
Overrides
| Improve this Doc View SourceSave(SparqlResultSet, String)
Saves a SPARQL Result Set to the given File.
Declaration
public override void Save(SparqlResultSet results, string filename)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
System.String | filename | File to save to. |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |