XHTML-Print and DTDs

Hello,
   
  In the XHTML-Print Spec, it stated that there shall be a DOCTYPE declaration which must be:
  
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML-Print 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-print10.dtd"> 
   
  In XHTML Spec, it had stated to have 3 different "flavors" or DTDs.  Strict, Transitional and Frameset.
   
  1.  DTDs are rulesets that would define how a document must be written, and defines the tags/elements, attributes, attribute values and default values to be accepted and used.  Meaning attribute can have different default values per DTD... There are tags to be ignored in a certain DTD which is accepted in another... Did I get that right?
   
  2.  How would the validation against the specified DTD technically work? 
   
  3.  Only a link is given for the different DTDs.  For XHTML-Print, low-cost printers with no network access couldn't retrieve that DTD.  Are DTDs also significant for XHTML-Print documents, or only for XHTML files for the web?
   
  4.  As I stated, it is stated in the XHTML-Print spec that the DTD that should be used is xhtml-print10.dtd.   What happens when the user specifies a different DTD (Strict, Transitional, Frameset)?  
   
  5.  Are CSS also affected by the DTD specified?  How is it affected?
   
  6.  What I wish to develop is an XHTML-Print PARSER.  Would DTD affect the way I should parse the document?  Should I parse differently for the strict, differently for transitional, differently for frameset and differently for print10?
   
  Any feedback would be appreciated.  Thank you very much!
   

			
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
--0-452112632-1138862483=:20315
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>Hello,</div>  <div>&nbsp;</div>  <div>In the XHTML-Print Spec, it stated that there shall be a DOCTYPE declaration which must be:</div>  <div><!--StartFragment --></div>  <div>&nbsp;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML-Print 1.0//EN"<BR>"http://www.w3.org/MarkUp/DTD/xhtml-print10.dtd"&gt; </div>  <div>&nbsp;</div>  <div>In XHTML Spec, it had stated to have 3 different "flavors" or DTDs.&nbsp; Strict, Transitional and Frameset.</div>  <div>&nbsp;</div>  <div>1.&nbsp; DTDs are rulesets that would define how a document must be written, and defines the tags/elements, attributes, attribute values and default values to be accepted and used.&nbsp; Meaning attribute can have different default values per DTD... There are tags to be ignored in a certain DTD which is accepted in another... Did I get that right?</div>  <div>&nbsp;</div>  <div>2.&nbsp; How would the validation against the specified DTD technically work?&nbsp;</div>  <div>&nbsp;</div>  <div>3.&nbsp; Only a link is
 given for the different DTDs.&nbsp; For XHTML-Print, low-cost printers with no network access couldn't retrieve that DTD.&nbsp; Are DTDs also significant for XHTML-Print documents, or only for XHTML files&nbsp;for the web?</div>  <div>&nbsp;</div>  <div>4.&nbsp; As I stated, it is stated in the XHTML-Print spec that the DTD that should be used is <STRONG>xhtml-print10.dtd.&nbsp;&nbsp; </STRONG>What happens when the user specifies a different DTD (Strict, Transitional, Frameset)?&nbsp; </div>  <div>&nbsp;</div>  <div>5.&nbsp; Are CSS also affected by the DTD specified?&nbsp; How is it affected?</div>  <div>&nbsp;</div>  <div>6.&nbsp; What I wish to develop is an XHTML-Print PARSER.&nbsp; Would DTD affect the way I should parse the document?&nbsp; Should I parse differently for the strict, differently for transitional, differently for frameset and differently for print10?</div>  <div>&nbsp;</div>  <div>Any feedback would be appreciated.&nbsp; Thank you very much!</div> 
 <div>&nbsp;</div><p>
	
		<hr size=1> <a href="http://us.rd.yahoo.com/evt=38381/ ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html ">Yahoo! Autos</a>. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
--0-452112632-1138862483=:20315--

Received on Thursday, 2 February 2006 09:00:42 UTC