Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple page printing Pin
electriac8-Feb-08 0:54
electriac8-Feb-08 0:54 
GeneralRe: Multiple page printing Pin
kenwen8-Feb-08 8:30
kenwen8-Feb-08 8:30 
Generalifilter Pin
justintimberlake7-Feb-08 21:27
justintimberlake7-Feb-08 21:27 
GeneralRe: ifilter Pin
Pete O'Hanlon7-Feb-08 21:46
mvePete O'Hanlon7-Feb-08 21:46 
GeneralRe: ifilter Pin
justintimberlake7-Feb-08 22:00
justintimberlake7-Feb-08 22:00 
GeneralDataBinding + DataTable as DataSource - very strange behaviour Pin
El'Cachubrey7-Feb-08 21:12
El'Cachubrey7-Feb-08 21:12 
GeneralRe: DataBinding + DataTable as DataSource - very strange behaviour Pin
Ravenet7-Feb-08 21:29
Ravenet7-Feb-08 21:29 
Generalconvert XML to HTML Pin
marky7777-Feb-08 19:51
marky7777-Feb-08 19:51 
Hello

I need to convert an XML doc (which has an XSL applied to it) to an HTML doc.

I tried this, but it does not allow me to specify a URL as a path:

//1) Load the Xml document <br />
        XPathDocument myXPathDoc = new XPathDocument("C:\\SSW55P12902365.XML");<br />
    <br />
        //2) Load the Xsl file <br />
        XslCompiledTransform myXslTrans = new XslCompiledTransform();<br />
        //XslTransform myXslTrans = new XslTransform();<br />
        myXslTrans.Load("C:\\Style.xsl");<br />
         <br />
        //3) Create a stream for output <br />
        XmlTextWriter myWriter = new XmlTextWriter("http://www.SpecifiedURL/SSW55P12902365.html", null);<br />
         <br />
        //4) Perform the actual transformation <br />
        myXslTrans.Transform(myXPathDoc,null,myWriter);


If I use a folder path on the hard drive instead of the URL it works.
Is there any other (free) way to do this conversion?

Thanks
M
GeneralRe: convert XML to HTML Pin
Joachim Kerschbaumer7-Feb-08 20:41
Joachim Kerschbaumer7-Feb-08 20:41 
Generalembed cursor Pin
Try7-Feb-08 19:10
Try7-Feb-08 19:10 
AnswerRe: embed cursor Pin
Vikram A Punathambekar7-Feb-08 19:33
Vikram A Punathambekar7-Feb-08 19:33 
GeneralRe: embed cursor Pin
Try7-Feb-08 20:04
Try7-Feb-08 20:04 
GeneralRe: embed cursor Pin
Try7-Feb-08 21:05
Try7-Feb-08 21:05 
GeneralMYOB Pin
the_smiths7-Feb-08 19:05
the_smiths7-Feb-08 19:05 
QuestiontoolStrip bug? Pin
Harvey Saayman7-Feb-08 19:04
Harvey Saayman7-Feb-08 19:04 
GeneralRe: toolStrip bug? Pin
Gareth H7-Feb-08 22:45
Gareth H7-Feb-08 22:45 
GeneralRe: toolStrip bug? Pin
Harvey Saayman7-Feb-08 23:40
Harvey Saayman7-Feb-08 23:40 
GeneralMove drawing and Copy Drawing in a Drawing Editor Pin
a_david1237-Feb-08 18:45
a_david1237-Feb-08 18:45 
QuestionDos command Pin
Smithakrishnan7-Feb-08 18:33
Smithakrishnan7-Feb-08 18:33 
GeneralRe: Dos command Pin
Joachim Kerschbaumer7-Feb-08 20:36
Joachim Kerschbaumer7-Feb-08 20:36 
QuestionHow to make this code to debug.... Pin
NarVish7-Feb-08 17:39
NarVish7-Feb-08 17:39 
AnswerRe: How to make this code to debug.... Pin
Vikram A Punathambekar7-Feb-08 18:28
Vikram A Punathambekar7-Feb-08 18:28 
QuestionHow to validate system's user account and password? Pin
Sutheesh7-Feb-08 16:37
Sutheesh7-Feb-08 16:37 
GeneralInput Class (XNA) Pin
MasterSharp7-Feb-08 16:34
MasterSharp7-Feb-08 16:34 
GeneralRe: Input Class (XNA) Pin
User 66587-Feb-08 23:16
User 66587-Feb-08 23:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.