old_contents: # test env for debugging of resource proxy generation
  
  # from pudb import set_trace
  from batchxslt import cmdiresource
  
  # set_trace()
  corpus = "/home/kuhn/Data/IDS/svn/dgd2_data/dgd2cmdi/cmdiOutBeta2/corpus/"
  event = "/home/kuhn/Data/IDS/svn/dgd2_data/dgd2cmdi/cmdiOutBeta2/event/"
  speakers = "/home/kuhn/Data/IDS/svn/dgd2_data/dgd2cmdi/cmdiOutBeta2/speakers/"
  transcripts = "/home/kuhn/Data/IDS/svn/dgd2_data/transcripts/"
  
  resourcetree = cmdiresource.ResourceTreeCollection(corpus, event, speakers, transcripts)
  
  resourcetree.build_resourceproxy()
  
  resourcetree.write_xml('FOLK_E_00020', '/tmp/folktest.xml')
  
  
  
  
  
  
new_contents: __doc__ = "test env for debugging of resource proxy generation"
  
  # from pudb import set_trace
  from batchxslt import cmdiresource
  
  # set_trace()
  corpus = "/home/kuhn/Data/IDS/svn/dgd2_data/dgd2cmdi/cmdiOutBeta2/corpus/"
  event = "/home/kuhn/Data/IDS/svn/dgd2_data/dgd2cmdi/cmdiOutBeta2/event/"
  speakers = "/home/kuhn/Data/IDS/svn/dgd2_data/dgd2cmdi/cmdiOutBeta2/speakers/"
  transcripts = "/home/kuhn/Data/IDS/svn/dgd2_data/transcripts/"
  
  resourcetree = cmdiresource.ResourceTreeCollection(corpus, event, speakers, transcripts)
  
  resourcetree.build_resourceproxy()
  
  resourcetree.write_xml('FOLK', '/tmp/folktest.xml')
  
  # TODO: For corpus labels: every resource must be put into the resource proxy list
  
  
  
  
subject: integrate transcripts into corpus catalogue metadata resproxies