|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Reserved prefix xml for namespaces
I have a name element with a lang attribute. This attribute is prefixed with a reserved prefix xml that indicates that attribute lang was described somewhere at w3c:
[name xml:lang="en"] How to declare this lang attribute in XML schema? |
|
#2
|
|||
|
|||
|
DTD to Schema conversion
hi,
I given the solution for declaring the xml:lang="en" in schema <xs:attribute name="xml:lang"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="en"/> <xs:enumeration value="XXX"/> </xs:restriction> </xs:simpleType> </xs:attribute> where XXX means other languages |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Reserved prefix xml for namespaces |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|