DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   RSS, Web Services and SOAP (http://www.daniweb.com/forums/forum151.html)
-   -   XHTML w/ XML? (http://www.daniweb.com/forums/thread14926.html)

Alcides Dec 1st, 2004 11:21 pm
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 Dec 2nd, 2004 10:29 am
Re: XHTML w/ XML?
 
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.

OverDoser Apr 22nd, 2005 5:40 pm
Re: XHTML w/ XML?
 
post........? Ugh this day sucks sorry I can't help

DanceInstructor Apr 22nd, 2005 5:46 pm
Re: XHTML w/ XML?
 
Try it this way. Added / on very last line.

<!ENTITY % ft7777 SYSTEM "http://www.alcides.net/newsite/dtd/ft7777.dtd">
    %ft7777;
] />

Alcides Apr 26th, 2005 3:19 pm
Re: XHTML w/ XML?
 
That SO makes a lot of sense. I'm gonna try it when get home from work. Thanks, DanceInstructor.

Alcides.

DanceInstructor Apr 26th, 2005 3:27 pm
Re: XHTML w/ XML?
 
I don't know if it will work or not :-| Its just a guess.


All times are GMT -4. The time now is 2:24 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC