D
darrel
I'm creating an RSS feed based off of this tutorial:
http://www.uberasp.net/ArticlePrint.aspx?id=17
In a nutshell, they are doing:
Response.Clear()
Response.ContentType = "text/xml"
....use xmltextwriter to create xml...
response.end()
I want to do the same, but instead of using an xmltextwriter, I'm using XSLT
to create the XML file. I'm stumped on how dto do this. I currently have:
Response.Clear()
Response.ContentType = "text/xml"
....set up xslt...
Dim sw As New StringWriter
xslt.Transform(doc, xslArg, sw, Nothing)
sw.Write(sw.ToString) // <-- where I'm stumped
response.end()
That doesn't work. How do I get a Stringwriter to output it's content into
the response?
-Darrel
http://www.uberasp.net/ArticlePrint.aspx?id=17
In a nutshell, they are doing:
Response.Clear()
Response.ContentType = "text/xml"
....use xmltextwriter to create xml...
response.end()
I want to do the same, but instead of using an xmltextwriter, I'm using XSLT
to create the XML file. I'm stumped on how dto do this. I currently have:
Response.Clear()
Response.ContentType = "text/xml"
....set up xslt...
Dim sw As New StringWriter
xslt.Transform(doc, xslArg, sw, Nothing)
sw.Write(sw.ToString) // <-- where I'm stumped
response.end()
That doesn't work. How do I get a Stringwriter to output it's content into
the response?
-Darrel