•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 402,056 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,342 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser: Programming Forums
Views: 3452 | Replies: 5
![]() |
•
•
Join Date: Jul 2004
Location: San Francisco
Posts: 51
Reputation:
Rep Power: 5
Solved Threads: 0
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.
Vapor One
----------
http://www.vaporone.com (THE LEGEND)
http://www.candycola.com (FREE MUSIC)
http://www.pdunderground.com (THE UNDERGROUND)
----------
http://www.vaporone.com (THE LEGEND)
http://www.candycola.com (FREE MUSIC)
http://www.pdunderground.com (THE UNDERGROUND)
•
•
Join Date: Jul 2004
Location: San Francisco
Posts: 51
Reputation:
Rep Power: 5
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.
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.
<?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.
Vapor One
----------
http://www.vaporone.com (THE LEGEND)
http://www.candycola.com (FREE MUSIC)
http://www.pdunderground.com (THE UNDERGROUND)
----------
http://www.vaporone.com (THE LEGEND)
http://www.candycola.com (FREE MUSIC)
http://www.pdunderground.com (THE UNDERGROUND)
Try it this way. Added / on very last line.
<!ENTITY % ft7777 SYSTEM "http://www.alcides.net/newsite/dtd/ft7777.dtd">
%ft7777;
] />•
•
Join Date: Jul 2004
Location: San Francisco
Posts: 51
Reputation:
Rep Power: 5
Solved Threads: 0
That SO makes a lot of sense. I'm gonna try it when get home from work. Thanks, DanceInstructor.
Alcides.
Alcides.
Vapor One
----------
http://www.vaporone.com (THE LEGEND)
http://www.candycola.com (FREE MUSIC)
http://www.pdunderground.com (THE UNDERGROUND)
----------
http://www.vaporone.com (THE LEGEND)
http://www.candycola.com (FREE MUSIC)
http://www.pdunderground.com (THE UNDERGROUND)
![]() |
•
•
•
•
•
•
•
•
DaniWeb RSS, Web Services and SOAP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Php & Xhtml (PHP)
- javaScript/XHTML. (JavaScript / DHTML / AJAX)
- XHTML with PHP validation ??? (HTML and CSS)
- HTML & XML (HTML and CSS)
- HTML & XML (HTML and CSS)
- JavaScript's window.opener (JavaScript / DHTML / AJAX)
- Php parser error when xml version is mentioned (PHP)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Rss Feeds!
- Next Thread: What exactly is soap?


Linear Mode