serving xml file in html wrapper

Discussion in 'Apache' started by a_jtim, May 6, 2010.

  1. #1
    Hi, very new to this so I'm sure this is newbie question.
    I've got a url like this: http://localhost/xml/myfile.xml

    The file contains xml and I want to return it to the user in html that specifies a css stylesheet and puts the contents of the xml file in a <pre> block.

    What I want is for the users to be able to view the raw xml with line numbers (which my stylesheet will handle). If there's a better way to accomplish that, please let me know.

    If that's the way to go about it, what should I be reading about? Handlers? Filters?

    thanks,
    --Tim
     
    a_jtim, May 6, 2010 IP