Show / Hide Table of Contents

Class SparqlXsltWriter

Class for generating arbitrary XML Output from SPARQL Result Sets by transforming the XML Results Format via an XSLT stylesheet.
Inheritance
System.Object
SparqlXmlWriter
SparqlXsltWriter
Implements
ISparqlResultsWriter
Inherited Members
SparqlXmlWriter.GenerateOutput(SparqlResultSet, XmlWriter)
SparqlXmlWriter.RaiseWarning(String)
SparqlXmlWriter.Warning
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 Source

SparqlXsltWriter(String)

Creates a new SPARQL XSLT Writer.
Declaration
public SparqlXsltWriter(string stylesheetUri)
Parameters
Type Name Description
System.String stylesheetUri Stylesheet URI.
| Improve this Doc View Source

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 Source

Save(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
SparqlXmlWriter.Save(SparqlResultSet, TextWriter)
| Improve this Doc View Source

Save(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
SparqlXmlWriter.Save(SparqlResultSet, String)
| Improve this Doc View Source

ToString()

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
Overrides
SparqlXmlWriter.ToString()

Implements

ISparqlResultsWriter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SparqlXsltWriter(String)
    • SparqlXsltWriter(Uri)
  • Methods
    • Save(SparqlResultSet, TextWriter)
    • Save(SparqlResultSet, String)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX