<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE example [
<!ENTITY % pcd "(#PCDATA)">
<!ENTITY % rgb "(red | green | blue)">
<!ELEMENT example (spot, (%rgb;)+)>
<!ELEMENT red %pcd;>
<!ELEMENT green %pcd;>
<!ELEMENT blue %pcd;>
<!ELEMENT spot %pcd;>
<!ATTLIST spot color %rgb; #IMPLIED>
]>
<example>
<spot color="red">A red spot.</spot>
<blue>153</blue>
<green>255</green>
</example>
I can't parse with amara nor validate with xmllint, but it parses ok
if I put it as an external DTD. I can't find what's wrong in it :-/
Regards,
-- luismiguel (@lmorillas)
--
You received this message because you are subscribed to the Google Groups "Akara Developers" group.
To post to this group, send email to akar...@googlegroups.com.
To unsubscribe from this group, send email to akara-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akara-dev?hl=en.