I've been having trouble using XHTML as the main DTD and adding my own as a secondary. I've googled and find plenty of discussions or articles about XML or XHTML, but I can't seem to find what I'm looking for. does anyone know how to do this? Thanks in advance.

Alcides.

Recommended Answers

All 5 Replies

I couldn't find the "edit" button, so I'm adding a reply. Here is the code I have above my opening html tag.

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
  <!ENTITY % html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    %html;
	<!ENTITY % ft7777 SYSTEM "http://www.alcides.net/newsite/dtd/ft7777.dtd">
    %ft7777;
]>

In IE it shows a "]>" at the top. But in Firefox, it seems to be okay. I'm thinking that IE has a stricter parser so I'm trying to rely on that more than Firfox's. Not to mention a lot of people still use IE. Thanks again.

Alcides.

post........? Ugh this day sucks sorry I can't help

That SO makes a lot of sense. I'm gonna try it when get home from work. Thanks, DanceInstructor.

Alcides.

I don't know if it will work or not :-| Its just a guess.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.