Listing Themes General-Purpose Oracle Fusion Middleware Online Documentation Library

7-8 Oracle Fusion Middleware Users Guide for Oracle MapViewer map_list succeed=true map name=DEMO_MAP map name=DENSITY_MAP map_list non_map_response

7.3 Listing Themes General-Purpose

The list_predefined_themes element lists either all themes defined in a specified data source or all themes defined in a specified data source for a specified map. The DTD for requesting all themes defined in a data source regardless of the map associated with a theme has the following definition: ELEMENT non_map_request list_predefined_themes ELEMENT list_predefined_themes EMPTY ATTLIST list_predefined_themes data_source CDATA REQUIRED The following example lists all themes defined in the data source named mvdemo. ?xml version=1.0 standalone=yes? non_map_request list_predefined_themes data_source=mvdemo non_map_request The DTD for requesting all themes defined in a data source and associated with a specific map has the following definition: ELEMENT non_map_request list_predefined_themes ELEMENT list_predefined_themes EMPTY ATTLIST list_predefined_themes data_source CDATA REQUIRED map CDATA REQUIRED The following example lists all themes defined in the data source named tilsmenv and associated with the map named QA_MAP. ?xml version=1.0 standalone=yes? non_map_request list_predefined_themes data_source=tilsmenv map=QA_MAP non_map_request The DTD for the response to a list_predefined_themes request has the following format: ELEMENT non_map_response predefined_theme_list ELEMENT predefined_theme_list predefined_theme ATTLIST predefined_theme_list succeed true | false REQUIRED ELEMENT predefined_theme EMPTY ATTLIST predefined_theme name CDATA REQUIRED The succeed attribute indicates whether or not the request was processed successfully. MapViewer XML Requests: Administrative and Other 7-9 The name attribute identifies each theme. For example: ?xml version=1.0 ? non_map_response predefined_theme_list succeed=true predefined_theme name=THEME_DEMO_CITIES predefined_theme name=THEME_DEMO_BIGCITIES predefined_theme name=THEME_DEMO_COUNTIES predefined_theme name=THEME_DEMO_COUNTY_POPDENSITY predefined_theme name=THEME_DEMO_HIGHWAYS predefined_theme name=THEME_DEMO_STATES predefined_theme name=THEME_DEMO_STATES_LINE predefined_theme_list non_map_response Note that the order of names in the returned list is unpredictable.

7.4 Listing Styles General-Purpose