API Output Styling

I hate to ask but I've searched all over the internet trying to figure this out.

So I get the API to pull info from Education.com site. I got all the school info, location info, etc. But how do I style it?!

I want to make a nice looking table, the output is like this:

<params>
 <param>
  <value>
   <array>
   <data>
<value>
 <struct>
  <member>
   <name>school</name>
   <value>
    <struct>
     <member>
      <name>schoolid</name>
      <value>
       <string>17914</string>
      </value>
     </member>
     <member>
      <name>schoolname</name>
      <value>
       <string>Fair Oaks Community High School</string>
      </value>
     </member>

Would I just use CSS or am I forgetting a step? I'm sorry for my ignorance.

Sincerely, Carl

Answers


Although you can certainly write your own XML parser to build an HTML table the way you like it, this is one of the many things that XSLT is good for. Some examples:


Need Your Help

SQlite foreign key logic

database sqlite

I am using SQlite and the PK column seems to be auto-incrementing. I am a bit concerned about following approach where I want to normalize the type-column: