Getting That MESS Cleaned Up! In an earlier post, we learned about xmllint . Today, I want to talk about cleaning up the code for an HTML file. When we have an xml file, xmllint is used. For an html file, we use the following command in the command line: xmllint --html <filename goes here> Here is an actual command on my command line for running xmllint for my StedmanLesson10.html file. In the photo above, you see that I start off the command with xmllint. The next thing is a space and then a --html. The two -- are two hyphen-minus characters that are used to specify long options (Basically there are options that can be used within xmllint. The two hyphen-minus characters are saying an option is going to be used. In this case, that option will be html - because we are going to do an xmllint on an html file). After that you see a space and then the name of the html file I want t...
Comments
Post a Comment