예제 #1
0
 public static DiscoverableTaxonomySet getTemplateTaxonomy() {
   try {
     SAXBuilder saxBuilder = new SAXBuilder();
     return saxBuilder.build(
         new InputSource("xbrl/unit_tests/taxonomy_original/t-st-2006-12-31.xsd"));
   } catch (Exception ex) {
     System.err.println(ex.toString());
     ex.printStackTrace();
   }
   return null;
 }
예제 #2
0
  public static DiscoverableTaxonomySet getDTS(String source)
      throws SAXException, IOException, ParserConfigurationException {

    SAXBuilder saxBuilder = new SAXBuilder();
    return saxBuilder.build(new InputSource(source));
  }