Not logged in? Join one of the bigest Law Forums on the Internet! Join Now!   Latest blog post: Research Law Professors Before Choosing Law Schools

Advertisments:




Sponsor Links:

Discount Legal Forms
Discounted Legal Texts


I Am Going For A Course About Xml And Am A Little Confused With Dtd Description And "community Identifiers" Particularly

Defamation Law Discussion Forum

I Am Going For A Course About Xml And Am A Little Confused With Dtd Description And "community Identifiers" Particularly

Postby Hank » Sun Jan 05, 2014 8:36 pm

So listed right here is a excellent instance:DTD definition for XHTML strict. Therefore, as I got it:this element:Plan "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"is necessary and is just a link(sort of uri) that is going towards the dtd for xhtml strict specification.then, what is this element for:Community "-//W3C//DTD XHTML 1. Strict//EN"I study that it really is elective, then why and when do I want it? What great does it do?And what meaning does it have?Cheers all,Alexander
Hank
 
Posts: 10
Joined: Sun Jan 05, 2014 4:39 pm
Top

I'm Taking A Class About Xml And Am A Bit Confused With Dtd Definition And "public Identifiers" Especially

Postby Osmond » Thu Jan 30, 2014 8:47 pm

Both parts of this declaration help describle the doctype that will be used to parse and validate the XHTML code. You are right. This whole "Doctype" subject is confusing. Here is a shot at an answer for you: both parts of the Doctype declaration will help the various browsers/validators parse/validate your code. The reason the PUBLIC part is "optional" is because that part is basically just a description of the XML version you are using. The PUBLIC part also supposedly points the browser to a "local" version of the DTD,(whatever "local" means.)The reason the SYSTEM part is required is because that part is a link to the exact location of the document on the W3C site against which your code will be validated.(The W3C is "World Wide Web Consortium", and is the group that sets the standards for Web code.)Here is a link to a site that will give you a detailed description of the meaning of each part of the Doctype. This site contains a good explanation for you, and there is no point in my doing a "cut and paste" of it. So just go to this link, and then scroll down almost to the bottom of the page, to the paragraph that has the heading of "Line by Line Description". http://www.uninetnews.com/xhtml/doctype.phpHope this helps. Sources: This is my opinion, but it is(somewhat) backed up by the link given in my answer. exit 73 months ago Please sign in to give a compliment. Please verify your account to give a compliment. Please sign in to send a message. Please verify your account to send a message.
Osmond
 
Posts: 9
Joined: Fri Jan 03, 2014 8:05 pm
Top

I'm Taking A Class About Xml And Am A Bit Confused With Dtd Definition And "public Identifiers" Especially

Postby Johan » Fri Feb 14, 2014 1:07 pm

You are right. This whole "Doctype" subject is confusing. Here is a shot at an answer for you: both parts of the Doctype declaration will help the various browsers/validators parse/validate your code. The reason the PUBLIC part is "optional" is because that part is basically just a description of the XML version you are using. The PUBLIC part also supposedly points the browser to a "local" version of the DTD,(whatever "local" means.)The reason the SYSTEM part is required is because that part is a link to the exact location of the document on the W3C site against which your code will be validated.(The W3C is "World Wide Web Consortium", and is the group that sets the standards for Web code.)Here is a link to a site that will give you a detailed description of the meaning of each part of the Doctype. This site contains a good explanation for you, and there is no point in my doing a "cut and paste" of it. So just go to this link, and then scroll down almost to the bottom of the page, to the paragraph that has the heading of "Line by Line Description". http://www.uninetnews.com/xhtml/doctype.phpHope this helps.
Johan
 
Posts: 8
Joined: Wed Jan 29, 2014 11:40 pm
Top


Return to Defamation Law

 


  • Related topics
    Replies
    Views
    Last post