vgritsenko    02/04/15 18:11:07

  Modified:    src/documentation/xdocs/drafts sitemap-working-draft.xmap
  Log:
  remove obsolete map:value and map:param syntax
  
  Revision  Changes    Path
  1.2       +19 -21    
xml-cocoon2/src/documentation/xdocs/drafts/sitemap-working-draft.xmap
  
  Index: sitemap-working-draft.xmap
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/documentation/xdocs/drafts/sitemap-working-draft.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap-working-draft.xmap        3 Jan 2002 12:31:03 -0000       1.1
  +++ sitemap-working-draft.xmap        16 Apr 2002 01:11:07 -0000      1.2
  @@ -109,12 +109,10 @@
       
         <xxx map:value="yyy">
         
  -  is completely equivalent to
  +  is deprecated (and not supported) in favor of
       
         <xxx>yyy</xxx>
         
  -  throughout the entire sitemap.
  -
   ============================================================================ -->
    
   <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
  @@ -143,7 +141,7 @@
      -->
     <map:transformers default="xslt">
      <map:transformer name="xslt" 
src="class:///org.apache.cocoon.transformation.XSLTTransformer">
  -    <compile-stylesheets map:value="true"/>
  +    <compile-stylesheets>true</compile-stylesheets>
      </map:transformer>
      <map:transformer name="xinclude" 
src="class:///org.apache.cocoon.transformation.XIncludeTransformer" label="content"/>
      <map:transformer name="schema" 
src="class:///org.apache.cocoon.transformation.SchemaLoader"/>
  @@ -164,27 +162,27 @@
      --> 
     <map:serializers default="html">
      <map:serializer name="html" mime-type="text/html" 
src="class:///org.apache.cocoon.serialization.HTMLSerializer">
  -    <doctype-public map:value="-//W3C//DTD HTML 4.0 Transitional//EN"/>
  -    <doctype-system map:value="http://www.w3.org/TR/REC-html40/loose.dtd"/>
  -    <preserve-space map:value="true"/>
  -    <encoding map:value="UTF-8"/>
  -    <indent tab="8">1</indent>
  +    <doctype-public>-//W3C//DTD HTML 4.0 Transitional//EN</doctype-public>
  +    <doctype-system>http://www.w3.org/TR/REC-html40/loose.dtd</doctype-system>
  +    <preserve-space>true"</preserve-space>
  +    <encoding>UTF-8"</encoding>
  +    <indent>1</indent>
       <colors>
  -     <foreground map:value="white"/>
  +     <foreground>white</foreground>
        <borders>
  -      <left map:value="blue"/>
  +      <left>blue</left>
         <right>red</right>
        </borders>
        <text>black</text>
        <lines>
  -      <left map:value="cyan"/>
  +      <left>cyan</left>
         <right>orange</right>
        </lines>
        <background>green</background>
       </colors>
  -    <map:param name="foo" value="bar"/>
  -    <map:param name="baz">foobar</map:param>
  -    <line-width map:value="120"/>
  +    <foo>bar</foo>
  +    <baz>foobar</baz>
  +    <line-width>120</line-width>
      </map:serializer>
   
      <map:serializer name="wap" mime-type="text/vnd.wap.wml" 
src="class:///org.apache.cocoon.serialization.XMLSerializer">
  @@ -194,13 +192,13 @@
      </map:serializer>
   
      <map:serializer name="svg2jpg" mime-type="image/jpg" 
src="class:///org.apache.cocoon.serialization.SVGSerializer">
  -    <format map:value="jpg"/>
  +    <format>jpg</format>
       <compression-level>80%</compression-level>
      </map:serializer>
   
      <map:serializer name="svg2png" mime-type="image/png" 
src="class:///org.apache.cocoon.serialization.SVGSerializer">
       <format>png</format>
  -    <color-depth map:value="24"/>
  +    <color-depth>24</color-depth>
      </map:serializer>
     </map:serializers>
     
  @@ -246,7 +244,7 @@
      </map:matcher>
   
      <map:matcher name="browser" src="org.apache.cocoon.matching.BrowserMatcher">
  -    <foo value="bar">baz</foo>
  +    <foo>bar</foo>
       <lines>
        <left>red</left>
        <right>white</right>
  @@ -536,9 +534,9 @@
            a URI contract between the XSP writer and the URI space manager,
            moving it to parameter names which normally change less frequently.
       -->
  -    <map:param name="year" value="{1}"/>
  -    <map:param name="month" value="{2}"/>
  -    <map:param name="day" value="{3}"/>
  +    <map:parameter name="year" value="{1}"/>
  +    <map:parameter name="month" value="{2}"/>
  +    <map:parameter name="day" value="{3}"/>
   
       <map:generate type="serverpages" src="./dailynews.xsp"/>
       <map:transform src="./stylesheet/{1}/news.xsl"/>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to