docs: public String convertString(String string)
      {
          if (string.indexOf("<xsl:import") != -1)
          {
              int iStart = string.indexOf("href=\"") + 6;
              int iEnd = string.indexOf('\"', iStart);
              if (iStart != 5)
                  if (iEnd != -1)
                  {
                      String strFilename = string.substring(iStart, iEnd);
                      
                      m_writer.write("<!-- " + "Import inlined from: " + strFilename + " - Do not modify this generated file." + "-->");
                      m_writer.println();
          
                      this.writeImport(strFilename);
                  }
              return null;
          }
          if (Boolean.FALSE.toString().equals(this.getProperty(ROOT_FILE)))
          {
              if (string.indexOf("xsl:stylesheet") != -1)
                  m_bSkipTag = true;
              if (string.indexOf("<?xml version=") != -1)
                  m_bSkipTag = true;
          //          if (string.indexOf("<xsl:output method=") != -1)
          //              m_bSkipTag = true;
          }
          if (m_bSkipTag)
          {
              if (string.indexOf('>') != -1)
                  m_bSkipTag = false;
              return null;
          }
          if (string.indexOf("<xsl:template ") != -1)
          {
              int iStart = string.indexOf("match=\"") + 7;
              int iEnd = string.indexOf('\"', iStart);
              if (iStart != 6)
                  if (iEnd != -1)
                  {
                      String strMatch = string.substring(iStart, iEnd);
                      if (m_parent instanceof XslImportScanListener)
                          m_bSkipTemplate = ((XslImportScanListener)m_parent).isMatch(strMatch);
                      if (!m_bSkipTemplate)
                          if (m_parent instanceof XslImportScanListener)
                              ((XslImportScanListener)m_parent).addMatch(strMatch, true);   // Make sure no one else adds it
                      if (m_bSkipTemplate)
                          System.out.println("Skip match " + strMatch);
          
                  }               
              iStart = string.indexOf("name=\"") + 6;
              iEnd = string.indexOf('\"', iStart);
              if (iStart != 5)
                  if (iEnd != -1)
                  {
                      String strName = string.substring(iStart, iEnd);
                      if (m_parent instanceof XslImportScanListener)
                          m_bSkipTemplate = ((XslImportScanListener)m_parent).isName(strName);
                      if (!m_bSkipTemplate)
                          if (m_parent instanceof XslImportScanListener)
                              ((XslImportScanListener)m_parent).addName(strName, true); // Make sure no one else adds it
                      if (m_bSkipTemplate)
                          System.out.println("Skip name " + strName);
                  }               
          }
          if (m_bSkipTemplate)
          {
              if (string.indexOf("</xsl:template>") != -1)
                  m_bSkipTemplate = false;
              return null;
          }
          return string;
      }