myfile.html associated with DTD [message #643614] |
Tue, 07 December 2010 16:18 |
|
HOW TO MAKE A FILE TO VALIDATE DTD HTML AGAINST MY CUSTOM IN HTML EDITOR
For example this is my file.html ad AltaGracia.dtd is my .dtd
------------------------------------------------------------ --------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AG SYSTEM "AltaG.dtd" >
<html style="height: 147px; ">
<form acCION="">
<input ></input>
<input ></input>
<input nombre="dsfsdf" tiene_atributo="checked" valor="" style="width : 123px; height : 54px;" /><button style="width: 63px; height: 35px; " nombre="dsdsad"></button></form>
</html>
------------------------------------------------------------ --------------------
But , the editor don'ty recognize my sintaxis in the AltaG.dtd
|
|
|
Re: myfile.html associated with DTD [message #643698 is a reply to message #643614] |
Tue, 07 December 2010 21:57 |
|
On 12/7/2010 11:18 AM, Agustin wrote:
>
> HOW TO MAKE A FILE TO VALIDATE DTD HTML AGAINST MY CUSTOM IN HTML EDITOR
HTML is HTML, not XML. The only valid DTDs within an HTML file are
those for XHTML.
--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.08192 seconds