1 olap.query.fromXML
<olap.query.fromXML>
<value /> !
<XML /> !
</olap.query.fromXML>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evalue | schema | The schema OLAP. | |||
EXML | xml | XML code to convert. |
Returns | |
---|---|
Type | Description |
object | Return the SQL object. |
Example
Copy
<xsql-script name="olap_xsql_script_query_fromXML"> <body> <return> <olap.query.fromXML> <olap.schema name="p_sd" /> <string><![CDATA[<OlapQuery schema='SampleData' cube='Quadrant Analysis' remove='0'> <Cols> <Argument>[Measures].[Budget]</Argument> </Cols> <Rows> <Argument>[Region].[Region]</Argument> <Argument>[Department].[Department]</Argument> </Rows> <Filters> </Filters> <TotalGroups> </TotalGroups> <TotalMeasures> </TotalMeasures> <TotalFunctions> </TotalFunctions> <Sorters> <Sort level='[Region].[Region]' direction='ASC' /> <Sort level='[Department].[Department]' direction='ASC' /> </Sorters> <NumericFilters> </NumericFilters> <Properties> </Properties> </OlapQuery>]]></string> </olap.query.fromXML> </return> </body> </xsql-script>