[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem with xml:lang
At 12:34 19/07/2000 +0100, Phil wrote: >I think xml:lang is a reserved XML attribute, so that could be why Xerces is >complaining. Does it complain if you do: > ><!DOCTYPE TEST [ ><!ELEMENT TEST (#PCDATA)> ><!ATTLIST TEST > xml:foo NMTOKEN 'fr' > > >]> ><TEST xml:foo="fr">Some text in french</TEST> Phil, Answering your question : yes it complains the same way. Nevertheless, I know that xml:lang is a reserved attribute and that's exactely the reason why I want to use it in this way. <!DOCTYPE TEST [ <!ELEMENT TEST (#PCDATA)> <!ATTLIST TEST xml:lang NMTOKEN 'fr' > ]> <TEST xml:lang="fr">Some text in french</TEST> Thanks, Pierre
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|