Thanks JontyMC!
With those numbers I wanted to represent an ID unique to each element. However I realized it would have been better by using an attribute which type is ID.
I know the XML Schemas are better, but I'm just learning it from the beginning and still haven't seen XML-Schema. The...
Hi, I'm new to XML, and I have to do an exercise which simulates values related to the state of a traffic light.
This is the DTD I wrote:
<?xml version"1.0" encoding="utf-8"?>
<!DOCTYPE trafficLights[
<!ELEMENT trafficLights (trafficLight+)>
<!ELEMENT trafficLight (#PCDATA)>
<!ATTLIST...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.