Henri Sivonen is right. To avoid confusion about redirection the example should be <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en"> <head> <title>Virtual Library</title> </head> <body> <p>The Virtual Library</p> </body> </html> To use entities without a "legacy" DOCTYPE declaration it shold be possible to write <?xml version="x.x" encoding="UTF-8"?> <!DOCTYPE [ <!ENTITY virtlib "Virtual Library"> ]> <html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en"> <head> <title>&virtlib;</title> </head> <body> <p>The &virtlib;</p> </body> </html> or simply <?xml version="x.x" encoding="UTF-8"?> <!ENTITY virtlib "Virtual Library"> <html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en"> <head> <title>&virtlib;</title> </head> <body> <p>The &virtlib;</p> </body> </html> But this is a problem for the XML working group. -- Herbert Schiemann mailto:h.schiemann@laemmerzahl.deReceived on Thursday, 16 June 2005 01:31:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:03 GMT