XML to XHTML - Best Method?

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-05-27T14:22:11Z Indexed on 2010/05/27 14:31 UTC
Read the original article Hit count: 150

Filed under:
|
|

Not wishing to be subjective but I have a need to get data from an XML source and convert it to (X)HTML. From my understanding I can do this with PHP (or other server-side scripts), Javascript, or XSLT. My feeling is that it would be more appropriate to use XSLT as it is dealing with an XML source and this is the purpose for which XSLT exists. I also see it having the advantage that it will still work if the user doesn't have Javascript enabled and wont be restricted to a server which runs PHP (or other server-side script). Am I right in my assumptions?

Also could the same be same for an RSS feed?

Thanks

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xslt