vgritsenko    2002/07/12 13:22:25

  Modified:    src/webapp Tag: cocoon_2_0_3_branch sitemap.xmap
               src/webapp/samples old_sitemap.xmap sitemap.xmap
  Log:
  fix yahoo sample
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.46.2.2  +1 -1      xml-cocoon2/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v
  retrieving revision 1.46.2.1
  retrieving revision 1.46.2.2
  diff -u -r1.46.2.1 -r1.46.2.2
  --- sitemap.xmap      30 May 2002 11:56:46 -0000      1.46.2.1
  +++ sitemap.xmap      12 Jul 2002 20:22:24 -0000      1.46.2.2
  @@ -1163,7 +1163,7 @@
      
      <map:match pattern="yahoo">
       <map:generate type="html" src="http://www.yahoo.com";>
  -      <map:parameter name="xpath" 
value="/html/body/center/table[1]/tr[1]/td[1]/table[position()=last()]"/>
  +      <map:parameter name="xpath" 
value="/html/body/center/table[4]/tr[1]/td[1]/table[2]/tr[1]/td[1]/center[1]"/>
       </map:generate>
       <map:transform src="stylesheets/news/news.xsl"/>
       <map:serialize type="html"/>
  
  
  
  1.2       +1 -1      xml-cocoon2/src/webapp/samples/old_sitemap.xmap
  
  Index: old_sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/old_sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- old_sitemap.xmap  2 Jul 2002 13:06:35 -0000       1.1
  +++ old_sitemap.xmap  12 Jul 2002 20:22:24 -0000      1.2
  @@ -1085,7 +1085,7 @@
      
      <map:match pattern="yahoo">
       <map:generate src="http://www.yahoo.com"; type="html">
  -      <map:parameter name="xpath" 
value="/html/body/center/table[1]/tr[1]/td[1]/table[position()=last()]"/>
  +      <map:parameter name="xpath" 
value="/html/body/center/table[4]/tr[1]/td[1]/table[2]/tr[1]/td[1]/center[1]"/>
       </map:generate>
       <map:transform src="stylesheets/news/news.xsl"/>
       <map:serialize type="html"/>
  
  
  
  1.12      +1 -1      xml-cocoon2/src/webapp/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/sitemap.xmap,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- sitemap.xmap      8 Jul 2002 08:15:13 -0000       1.11
  +++ sitemap.xmap      12 Jul 2002 20:22:24 -0000      1.12
  @@ -855,7 +855,7 @@
      
      <map:match pattern="yahoo">
       <map:generate src="http://www.yahoo.com"; type="html">
  -      <map:parameter name="xpath" 
value="/html/body/center/table[1]/tr[1]/td[1]/table[position()=last()]"/>
  +      <map:parameter name="xpath" 
value="/html/body/center/table[4]/tr[1]/td[1]/table[2]/tr[1]/td[1]/center[1]"/>
       </map:generate>
       <map:transform src="stylesheets/news/news.xsl"/>
       <map:serialize type="html"/>
  
  
  

----------------------------------------------------------------------
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