The xylem sap of fruit trees ensures the survival during the dormant period, and its flow during the bleeding period is correlated with the start of a new life cycle. Though the simple exploration on ingredients in the sap was carried out in the early years, the specific life activities and physiology functions of the sap during bleeding period have not been reported yet and the bleeding period is still a fruit tree development period worthy of attention. In this study, the microbial community composition during bleeding period were revealed by metatranscriptome and transcriptomic data. For the first time, the microorganism genome and grape genome in xylem sap were analyzed on transcriptional level, based on which the main physiological functions of the sap were also determined. The genomic RNA in the sap was isolated and sequenced. Kyoto Encyclopedia of Gene and Genome (KEGG), Evolutionary genealogy of genes: Non-supervised Orthologous Groups (eggNOG) and Carbohydrate-Active enzymes Database (CAZy) functional annotation were used to analysis the function of micro-organisms in xylem sap. DEGs were analyzed by gene ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG). The genes responsive to biotic and abiotic stresses were finally screened by transcriptome screening, stress data analysis and vitro validation experiments. The analysis exhibited 36,144,564 micro-related clean reads and 244,213 unigene. KEGG, eggNOG and CAZy functional annotation analysis indicated that signal transduction and material metabolism were the most important function of xylem sap. DEGs analysis were mainly about disease resistance, carbon source metabolism and hormone signal transduction, especially in P3 vs P1, enriched in the plant-pathogen interaction pathway. Analysis on grape genome information revealed xylem sap had little RNA with weak life activity. Metabolic pathways, biosynthesis of secondary metabolites, plant hormone signal transduction and plant-pathogen interaction were the four pathways with the largest number of enriched genes. Moreover, 16 genes responsive to biotic and abiotic stresses were screened out. Promoting plant growth and resisting pathogens were the most important function of xylem sap during the bleeding period, and the function of microbial community were closely related to microorganisms growth and disease resistance. The 16 stress-related genes might be used for the future grape resistance research.