0

How to convert XML to CSV (to be shown in Excel file) using XSLT?

Provided XML value itself contains comma, e.g.

<name>The,Bad Boy</name>

My logic considers "The" & "Bad boy" as separate values as it goes in different columns after opening in Excel file.

1

1 Answer 1

4

It's not that this type of question would not have been answered before:

By the way, "CSV" does not mean that values cannot contain commas or must be separated by commas.

Excel can understand CSV that is separated by other characters than comma (tab, for example), and values that contain the separator can be enclosed in quotes.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.