The XHTML DTD works great for me for autocompletion.  Just make sure you're
using at least build 609, and don't try to run Validate on it yet (see
http://www.intellij.com/pipermail/eap-list/2002-February/012824.html).

I've attached the XHTML transitional DTD and a simple XHTML file for you to
test with.  Note that you'll first need to register the DTD in IDEA's
External Resources, like this:

   URI:
   http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd

   Path:
   C:\Data_Bartley\DTDs\xhtml1-transitional.dtd

(your local path to the DTD will vary, of course)

Hope that helps.

chris

-----Original Message-----
From: Patrik Andersson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 8:45 AM
To: '[EMAIL PROTECTED]'
Subject: SV: [Eap-list] HTML dtd definition for autocomplete


I tried getting the XHTML DOCTYPE working, but to no avail. IDEA puked all
over the place when I copied the DOCTYPE declaration from www.w3c.org. 


-----Ursprungligt meddelande----- 
Fr�n: Rodrigo Gevaerd [mailto:[EMAIL PROTECTED]] 
Skickat: den 7 mars 2002 14:20 
Till: '[EMAIL PROTECTED]' 
�mne: [Eap-list] HTML dtd definition for autocomplete 


  Have anyone thought about using a dtd for autocompletion when editing html

files or html in jsp files? Although this may force you to do things like 
<br/> instead of <br>, this may be worth. 
  []'s, 
  Rodrigo. 
_______________________________________________ 
Eap-list mailing list 
[EMAIL PROTECTED] 
http://www.intellij.com/mailman/listinfo/eap-list 

Title: Test
Test

Attachment: xhtml1-transitional.zip
Description: Binary data

Reply via email to