| Electronics > Beginners |
| XML Attribute Name or Nmtoken |
| (1/1) |
| metrologist:
I am having an XML Parser Error at line 34, char 64, Message: Attribute 'boardno' refers to an unknown entity '1' The value '1' for attribute 'boardno' must be Name or Nmtoken I'm not able to get past this or understand the problem as name or Nmtoken seem to have few limitations on characters that can be used. XML code: --- Code: ---<graphic boardno = "1" boardfile = "Caution.jpg"></graphic> --- End code --- DTD bits: --- Code: ---<!ELEMENT graphic (mapref*)> <!ATTLIST graphic %graphicatt; hplace (left | right | center | none ) #IMPLIED graphsty NMTOKEN #IMPLIED applicable IDREFS #IMPLIED %bodyatt; > <!ENTITY % graphicatt " boardno ENTITY #REQUIRED boardfile CDATA #IMPLIED reprowid CDATA #IMPLIED reprodep CDATA #IMPLIED %graphicunit; hscale CDATA #IMPLIED vscale CDATA #IMPLIED scalefit (yes | no ) #IMPLIED alt CDATA #IMPLIED"> --- End code --- |
| Navigation |
| Message Index |