cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/browser BrowserImpl.xsl
Date Thu, 12 Jul 2001 07:38:11 GMT
cziegeler    01/07/12 00:38:10

  Modified:    src/org/apache/cocoon/components/browser Tag:
                        cocoon_20_branch BrowserImpl.xsl
  Log:
  Using now dom level 2 api instead of level 1
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.2.3 +2 -2      xml-cocoon2/src/org/apache/cocoon/components/browser/BrowserImpl.xsl
  
  Index: BrowserImpl.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/browser/BrowserImpl.xsl,v
  retrieving revision 1.1.1.1.2.2
  retrieving revision 1.1.1.1.2.3
  diff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3
  --- BrowserImpl.xsl	2001/07/07 19:07:45	1.1.1.1.2.2
  +++ BrowserImpl.xsl	2001/07/12 07:38:05	1.1.1.1.2.3
  @@ -217,7 +217,7 @@
       Text text;
   
       document = ((DOMFactory)parser).newDocument();
  -    element = document.createElement("browser");
  +    element = document.createElementNS(null, "browser");
       document.appendChild(element);
   
       Iterator iter = browserInfo.entrySet().iterator();
  @@ -228,7 +228,7 @@
           continue;
         String nodeValue = (String)entry.getValue();
   
  -      node = document.createElement(nodeName);
  +      node = document.createElementNS(null, nodeName);
         text = document.createTextNode(nodeValue);
         node.appendChild(text);
         element.appendChild(node);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message