Jump to content

sgt_spike

Members
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sgt_spike

  • Rank
    Newbie
  1. list-style-image

    How do you resize the background image?
  2. list-style-image

    Can you change the size of the images you choose?
  3. DTD/XML to HTML

    I wanted to put it in JS but I'm willing to do something easier and better. At this point, being a newbie at this, I'm pretty flexible, I just need some guidance. I don't don't much about PHP, but willing to learn. Would doing the PHP tutorial on W3schools give me the knowledge to accomplish this?
  4. DTD/XML to HTML

    As I went through the XML tutorials I kept thinking about a personal project I want to do at home. I would like to turn my iTunes library into a webpage. I just need a view only page, but something that could be automatically updated when items are added to the library. You may already know iTunes uses an xml file to store metadata about media files in the library. This xml has a dtd schema (<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">) identifying the structure of the xml (I learned this from the tutorials). I want to use the "iTunes Library.xml" to populate the web page, and since it already has a structure, I figured it would be easy to do. The problem is I don't see how to do this. Going through all the XML tutorials including the DTD tutorial, it's not clear on how to accomplish this. I tried to reference the xml tags through the DOM, it worked once, giving me the tag type. I also found that using the DOM on such a large XML could make the web page slow. I know that I could use an xslt to format the xml but I would have to reference the xslt document in the xml. Again I want it dynamic, so using the referenced iTunes dtd works. I just can't determine how to go about doing this with the tutorials. They didn't make it clear how to use the DTD to turn the xml into html Any assistance would be greatly appreciated.
×