XML: java, xsl, css?

Out of context: Reply #2

  • Started
  • Last post
  • 8 Responses
  • sparker0

    In my experience, Javascript isn't a reliable langauage for parsing and rendering XML data.

    I would use PHP or PERL to do the parsing and function, and rely on either DTD or XSLT to create the display.

    Once you transform the XML using the XSLT you can safely apply CSS to it with little trouble.

    You can transform it into XHTML that way and then style it as you want. Or, you can do it all with XSL...it's really up to your preference and what is best for the project.

View thread