xml attribute problem

sek

Member
Joined
Jul 2, 2009
Messages
10
Programming Experience
Beginner
hi,

how to create a attribute something like below for a tag and assign a value to it.

<Name xml:lang="en-US"> TEST</Name>

the attribute is defined as entity in the DTD.

<!ENTITY % nmtoken "CDATA"> <!-- Any combination of XML name chars. -->

<!ENTITY % xmlLangCode "%nmtoken;"> <!-- Language code as defined by XML
recommendation: Language and
country. -->


thanks in advance.
 
Back
Top