XML to CSV Conversion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alok156190
    New Member
    • May 2007
    • 3

    XML to CSV Conversion

    Hi all, I am new to xml and xsl conversion . I am facing the following problem:

    the data in my xml is like


    <name>john,tom,harry</name>

    but in excel sheet the data instead of coming in same column,came in as all in different columns (john|tom|harry ).
    Kindly anyone tell me the way of dealing with commas in XML.

    Please please please.
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    If using CSV file as output then you should replace the commas in each <name> element with other character or with a blank space.
    It's easy by using the replace XSL 2.0 function.

    Comment

    • alok156190
      New Member
      • May 2007
      • 3

      #3
      Replace function is not working sir can you please tell me any other mathod


      Originally posted by dorinbogdan
      If using CSV file as output then you should replace the commas in each <name> element with other character or with a blank space.
      It's easy by using the replace XSL 2.0 function.

      Comment

      Working...