0

I am querying a web service and get returned a SOAP message. I want to create a html table and select what node should be in what column and so on. I have been googling a bit but wonder if anyone of you know a good guide on how to do this properly?

Thanks in advance.

1 Answer 1

1

The proper way would be a XSL Transformation (XSLT). See here for a good tutorial on XSLT.

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

7 Comments

The xml is returned in a string so can't I create the table on the server side?
@Peter: You can compile XSLT on server site with System.Xml.Xsl namespace classes. Also you can parse the XML string with System.Xml.Linq (XLinq) objects or System.Xml (XmlDocument, etc.) objects.
Yes, with XSLT. .NET has build-in classes for these transformations, you only need to write the appropriate XSLT file!
soo any examples on how to do this?
You really should have a look at the example from w3schools. They provide an online transformation tool where you can see how it works: w3schools.com/xsl/…
|

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.