Changeset 838

Show
Ignore:
Timestamp:
08/15/07 15:08:30 (1 year ago)
Author:
nsteiner
Message:

enable doctype declarations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/config/xml/pages/skin/default.xml

    r264 r838  
    1 <stub:document xmlns:stub="http://stubbles.net/stub"
     1<stub:document xmlns:stub="http://stubbles.net/stub" method="html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
    22  <html> 
    33    <head> 
  • trunk/src/main/resources/xsl/master.xsl

    r566 r838  
    1616  <xsl:param name="lang" select="@lang"/> 
    1717 
    18   <xsl:output method="xml"/> 
    1918  <xsl:template match="/"> 
    2019    <xsl:apply-templates select="node()"/> 
  • trunk/src/main/resources/xsl/stub.xsl

    r554 r838  
    99  <xsl:template match="stub:document"> 
    1010    <ixsl:stylesheet version="1.0" exclude-result-prefixes="ixsl"> 
    11       <ixsl:output method="html"/> 
     11      <ixsl:output> 
     12                <xsl:copy-of select="method" /> 
     13                <xsl:copy-of select="@doctype-public" /> 
     14                <xsl:copy-of select="@doctype-system" /> 
     15            </ixsl:output> 
    1216      <ixsl:template match="/"> 
    1317        <xsl:apply-templates select="node()"/>