Working with XHTML
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 10
- Joined: Fri Jan 23, 2004 7:40 pm
Working with XHTML
When I try to use XHTML Strict:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
I get the error message saying:
The declaration for "ContentType" must end with '>'. SystemID: http://www.w3.org/TR/html4/strict.dtd Line 81
It looks like "none" of the elements in the DTD follow the convention. Any thoughts?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
I get the error message saying:
The declaration for "ContentType" must end with '>'. SystemID: http://www.w3.org/TR/html4/strict.dtd Line 81
It looks like "none" of the elements in the DTD follow the convention. Any thoughts?
-- Brian
-
- Posts: 10
- Joined: Fri Jan 23, 2004 7:40 pm
OK, I found these...
OK, I found these:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
But, why are the others so ill documented, then???
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
But, why are the others so ill documented, then???
-- Brian
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
The DTD for XHTML strict is located at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd. Oxygen provides some document templates, one of them is for XHTML Strict. The "New from templates"/"XHTML Strict" action will give you:
Best Regards,
George
The DTD for XHTML strict is located at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd. Oxygen provides some document templates, one of them is for XHTML Strict. The "New from templates"/"XHTML Strict" action will give you:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
</body>
</html>
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service