User Profile
Collapse
-
In the first case I agree with you, but in 2nd, If I want to do more transformations , I need to use the temp as new input and I need output.xml for the result of this transformation. ..therefore I have to delete output again.... -
Yes I'll copy the code.
XslCompiledTran sform xslt = new XslCompiledTran sform();
xslt.Load(xsltI nput);// there are 2 .xsl files
if (!File.Exists(@ "c:\temp.xm l"))
{
xslt.Transform( @"c:\student.xm l",@"c:\output. xml")
File.Copy(@"c:\ output.xml", @"c:\temp.xml") ;...Leave a comment:
-
xslt transformations
Hi guys!
I want to do a sequence of transformations on an xml file. here is the scenario:
Input.xml-------XSLT------>output.xml------XSLT------->output.xml.... ...
for fulfiling this i have to save the first output on my hard disk and then use it again.
What I have done is to copy the out put in to a temp.xml file , delete the out put file and use the temp.xml file as the input for the second... -
Xslt
Hi guys!
I want to do a sequence of transformations on an xml file. here is the scenario:
Input.xml-------XSLT------>output.xml------XSLT------->output.xml.... ...
for fulfiling this i have to save the first output on my hard disk and then use it again.
What I have done is to copy the out put in to a temp.xml file , delete the out put file and use the temp.xml file as the input for the second... -
TreeViewer for XML ,c#
Hi every body
I am writing a code, which should show the treeviewer of an xml file.
I've used recursive function for finding the children of each node in the tree.
My problem is, I can't fix the tree in a way way that each child appears under its parent.
if (node.HasChildN odes)
{
foreach (XmlNode child in node.ChildNodes )
... -
Convert string to Double
Hi every one!
I have a funny problem , I have this piece of code which should convert a string to double and again Double to string.
try
{
string str = "98.22";
double d = Double.Parse(st r);
d = d - 1;
str = d.ToString();
Console.Write(s tr);
}
...
No activity results to display
Show More
Leave a comment: