954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

XHTML w/ XML?

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.

Alcides
Junior Poster in Training
54 posts since Jul 2004
Reputation Points: 11
Solved Threads: 0
 

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.

Alcides
Junior Poster in Training
54 posts since Jul 2004
Reputation Points: 11
Solved Threads: 0
 

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

OverDoser
Newbie Poster
7 posts since Apr 2005
Reputation Points: 10
Solved Threads: 0
 

Try it this way. Added / on very last line.

<!ENTITY % ft7777 SYSTEM "http://www.alcides.net/newsite/dtd/ft7777.dtd">
    %ft7777;
] />
DanceInstructor
Posting Whiz
368 posts since Feb 2005
Reputation Points: 17
Solved Threads: 14
 

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

Alcides.

Alcides
Junior Poster in Training
54 posts since Jul 2004
Reputation Points: 11
Solved Threads: 0
 

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

DanceInstructor
Posting Whiz
368 posts since Feb 2005
Reputation Points: 17
Solved Threads: 14
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You