User Profile

Collapse

Profile Sidebar

Collapse
Seesharp2008
Seesharp2008
Last Activity: Nov 12 '07, 09:06 AM
Joined: Nov 2 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Seesharp2008
    replied to xslt transformations
    in XML
    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....
    See more | Go to post

    Leave a comment:


  • Seesharp2008
    replied to xslt transformations
    in XML
    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") ;...
    See more | Go to post

    Leave a comment:


  • Seesharp2008
    started a topic xslt transformations
    in XML

    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...
    See more | Go to post

  • Seesharp2008
    started a topic Xslt
    in .NET

    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...
    See more | Go to post

  • Seesharp2008
    started a topic TreeViewer for XML ,c#
    in .NET

    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 )
    ...
    See more | Go to post

  • Seesharp2008
    started a topic Convert string to Double
    in .NET

    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);
    }
    ...
    See more | Go to post
No activity results to display
Show More
Working...