Dashboard
>
Public Content
>
Home
>
CSharpStuff
Public Content
Log In
CSharpStuff
Browse Space
View
I
nfo
Added by
James Richardson
, last edited by
James Richardson
on Aug 03, 2006
Labels:
(None)
Add Labels
Enter labels to add to this page:
Tip:
Looking for a label? Just start typing.
Posting to web site
public string postURI(string uristr, NameValueCollection parameters) { WebClient client = new WebClient(); byte[] result = client.UploadValues(uristr, "POST", parameters); return System.Text.Encoding.UTF8.GetString(result); }
XSL transform for a document
public string transform(XmlDocument document, string xslpath) { XslTransform transform = new XslTransform(); transform.Load(xslpath); StringWriter str = new StringWriter(); XmlTextWriter writer = new XmlTextWriter(str); transform.Transform(document, null, writer); return str.ToString(); }
Add Comment
Powered by
Atlassian Confluence
, the
Enterprise Wiki
. (Version: 2.5.1 Build:#806 May 06, 2007) -
Bug/feature request
-
Contact Administrators