Language |
Rule #1: Remember the XML declaration<?xml version="1.0" standalone="yes/no" encoding="UTF-8"?> Rule #2: Do what the DTD instructsThe XML document will validate against the specified DTD. Rule #3: Watch your capitalization<YANWANG> is not <YanWang>. Rule #4: Quote attribute values<NAME dateofbirth="1974">Nan Chen</NAME> Rule #5: Close all tags<P>...</P> Rule #6: Close Empty tags, too<br/> |