You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by gr...@apache.org on 2003/09/11 18:01:54 UTC

cvs commit: xml-xalan/java/xdocs/sources/xalan samples.xml usagepatterns.xml

grchiu      2003/09/11 09:01:54

  Modified:    java/xdocs/sources/xalan samples.xml usagepatterns.xml
  Log:
  Documenting the addition of the ExtensionEvent trace event, as well as
  the Trace sample changes.
  
  Revision  Changes    Path
  1.58      +3 -1      xml-xalan/java/xdocs/sources/xalan/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/samples.xml,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- samples.xml	17 Jun 2003 20:16:57 -0000	1.57
  +++ samples.xml	11 Sep 2003 16:01:54 -0000	1.58
  @@ -529,7 +529,9 @@
         <p>What it does: Trace uses the TraceListener and TraceManager classes to log transformation events.</p>
         <p>Run this sample from the Trace subdirectory with</p>
         <p><code>java Trace</code></p>
  -      <p>and examine the result in events.log. For more information, see <link idref="usagepatterns" anchor="debugging">Debugger
  +      <p>and examine the result in events.log. Additionally, run this sample from the extensions subdirectory with</p>
  +      <p><code>java Trace 3-java-namespace</code></p>
  +      <p>for the trace of a stylesheet with extensions. For more information, see <link idref="usagepatterns" anchor="debugging">Debugger
         Interface</link></p>
        </s2><anchor name="validate"/>
        <s2 title="Validate">
  
  
  
  1.59      +5 -1      xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml
  
  Index: usagepatterns.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- usagepatterns.xml	17 Jun 2003 20:16:57 -0000	1.58
  +++ usagepatterns.xml	11 Sep 2003 16:01:54 -0000	1.59
  @@ -496,12 +496,14 @@
         <jump href="apidocs/org/apache/xalan/trace/TraceManager.html">TraceManager</jump> associated
         with the Transformer that will perform a given transformation.<br/><br/></li>
   		  <li><jump href="apidocs/org/apache/xalan/trace/TracerEvent.html">TracerEvent</jump> is an event that is 
  -		  passed to the TraceListener.trace function. It is called before a node is 'executed' in the stylesheet.<br/><br/></li>
  +		  passed to the TraceListener.trace() function. It is called before a node is 'executed' in the stylesheet.<br/><br/></li>
   		  <li><jump href="apidocs/org/apache/xalan/trace/GenerateEvent.html">GenerateEvent</jump> is an event that is 
   		  passed to the TraceListener.generated() function. It is called after an event occurs to create something in the result
         tree.<br/><br/></li>
         <li><jump href="apidocs/org/apache/xalan/trace/SelectionEvent.html">SelectionEvent</jump> is an event triggered by the
          selection of a stylesheet node.</li>
  +		  <li><jump href="apidocs/org/apache/xalan/trace/ExtensionEvent.html">ExtensionEvent</jump> is an event that is 
  +		  passed to the TraceListener.extension() function. It is called before an extension call is made.<br/><br/></li>
   		</ul>
       <p>The <link idref="commandline">command-line utility</link> uses the debugger interface when you include one or more of the
        following switches: <code>-TT</code>, <code>-TG</code>, <code>-TS</code>, <code>-TTC</code>.</p>
  @@ -523,6 +525,8 @@
   ptl.m_traceSelection = true;
   // Print information whenever a template is invoked.
   ptl.m_traceTemplates = true;
  +// Print information whenever an extension is called.
  +ptl.m_traceExtension = true;
   
   // Set up the transformation    
   javax.xml.transform.TransformerFactory tFactory = 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org