Subject: Re: [xsl] Filtering new tags From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Fri, 25 Jan 2008 16:17:50 +0530 |
I am not sure, that your C# program is using MSXML. It seems to be using .NET classes. If your stylesheet is not producing the output I suggested, it could be a bug with the implementation. I suggest, you can discuss this problem in Microsoft XSL forum. Or, perhaps, somebody else on this list could help you. On 1/25/08, buddhi <buddhi@xxxxxxxxxxxxxxxxxxx> wrote: > Yea that is exactly what I need but it is not working for me... > > This is the way that I have used it... > > XslTransform myXslTransform; > XPathDocument myXPathDocument = new XPathDocument ("C:\New.xml"); > myXslTransform = new XslTransform(); > myXslTransform.Load( sApplicationPath + @"\style.xsl" ); > > > XmlTextWriter writer = new XmlTextWriter(sApplicationPath + > @"\NewTags.xml", System.Text.Encoding.UTF8); > writer.Formatting = Formatting.Indented; > myXslTransform.Transform(myXPathDocument,null, writer, null); > writer.Flush(); > writer.Close(); > > Above is using C# with msxml > > - Buddhi - -- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Filtering new tags, Joe Fawcett | Thread | Re: [xsl] Filtering new tags, Joe Fawcett |
Re: [xsl] Filtering new tags, Joe Fawcett | Date | Re: [xsl] Filtering new tags, Joe Fawcett |
Month |