• Returns article with index num from the xml objected returned from parse_pubmed_baseline_file

    //for example 
    let fp = "./resources/pubmed22n0001.xml" ;
    let xml = parse_pubmed_baseline_file(fp) ;
    let article1 = get_article(xml,0) ;

    Parameters

    • xml: any
    • num: number

    Returns any