title: How to run the <xsl:for-each-group select="*" group-adjacent="boolean(self::table)"></xsl:for-each-group> of xslt2.0 by using xalan
body: <p>Actually I have two methods :
  one is :  <code>document-location()</code> 
  and other is  :</p>
  
  <pre><code>&lt;xsl:for-each-group select="*" group-adjacent="boolean(self::table)"&gt;
  </code></pre>
  
  <p>first method is supported to xalan but not saxon and second method is supported saxon but not xalan .</p>
  
  <p>for this I have created two files for two methods . But I dont want to create two different files .Is there any method which works same as  in xalan?</p>