Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

LP avatar image
LP asked Erick Ramirez answered

What is the best way to parse results as XML in C#?

I'm using the Cassandra C# drivers for DSE. What is the best way to parse/convert results to XML? Note: The queries are user defined at runtime so I don't have known mapper classes. I'm trying to generate generic XML from query results without knowing the structure of the results.

csharp driver
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

This isn't really a Cassandra question so there isn't a way you could do this natively with the C# driver.

You will need to import some framework that will allow you to convert the result set into XML format. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.