previous |
start |
next
Adding attributes to an existing element
You just need to include an ATTLIST for the attribute:
<!ATTLIST p
myattr CDATA #IMPLIED
>
This works because XML allows multiple ATTLIST declarations
for each element.
previous |
start |
next