&xSummaryNode = &xRootNode.AddElement(“SUMMARY”) Local XmlNode &xRootNode, &xMonthNode, &xAmountNode, &xSummaryNode, &fXMLFile = GetFile(&strXMLFileName, “w”, %FilePath_Absolute) &strXMLData = &objRowsetDS.getXMLData(&rsRowset, &strXSDFileName) &fXSDFile = GetFile(&strXSDFileName, “w”, %FilePath_Absolute) &strXSDFileName = %This.XMLFilePath | &strFileName | “.xsd” &strXMLFileName = %This.XMLFilePath | &strFileName | “.xml” Local PSXP_XMLGEN:RowSetDS &objRowsetDS = create PSXP_XMLGEN:RowSetDS() Local string &strXSDFileName, &strXMLData, &strXMLSchema, &strPSHome PeopleCode to create XML file through Rowset: To create XML files through PS Query and Row-set methods, need to import delivered App package ” PSXP_XMLGEN” In Bi Publisher there are three methods to create XML files as data source.
0 Comments
Leave a Reply. |