Element Details: DataLayer.XML
 Back


Available in: Logi Info Source code name: DataLayer.XMLFile

Allows specification of XML as a data source. This is typically used to display static information, or data that is only available from an XML file source, or a REST-style web service.

The XML file / URL may be specified directly. Or an HTTP URL may be specified with a combination of ConnectionID (which provides protocol, server and directory information) plus a LinkParams element (which provides URL parameters).

You may specify one or more XslTransform elements with XSL files. These transform the input XML file before the XML is loaded into the DataLayer. Use this feature to adjust the XML data if it has a schema that cannot be understood. For example, if the input XML comprises a data set with two tables, an XSL file can remove a table, since the DataLayer expects only a single one.

Element Group:File DataLayers



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ConnectionID
UserDefined
Specifies a connection to a data source that is defined in the Settings. For elements connecting to relational databases, default is the first Connection element in _settings.lgx.
HttpMethod
PUT
POST
GET
DELETE
HttpMethod specifies the verb to be sent with a REST request.
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
MaxRows
UserDefined
The maximum number of rows to retrieve from the data source.
RemoveNamespace
True
False
Some XML data sources will add namespace and schema information. This information can be used to remove the namespace information, preserving the data. False will skip this additional processing (Default).
XMLFile
UserDefined
(Required) The file specification for an XML file. You may enter either a file system location (such as c:\myfolder\mydata.xml) or a location from the web (such as http://server/data.xml). By default, the server will look in the project's _SupportFiles folder, in which case you can simply specify the filename (such as mydata.xml). The http specification is also useful for retrieving XML data from REST-style web services. When this element uses a Connection element, this XMLFile attribute gets appended to the Connection element's UrlHost attribute.
XPath
UserDefined
Specifies a standard XPath string that will be used to select a set of matching nodes. All of the matching nodes are then used to generate the resulting datalayer.



PARENT ELEMENTS

Click element to drill down for more information.

Analysis Chart
Analysis Grid
Animated Chart.Pie
Animated Chart.Scatter
Animated Chart.XY
Animated Extra Scatter Layer
Animated Gauge.Bar
Animated Gauge.Needle
Animated Gauge.Pyramid
Animated Map
Authentication
Auto Complete
Bulk Email Data Layer
Chart Canvas
Chart Grid
Chart.Gantt
Chart.Heatmap
Chart.Pie
Chart.Polar
Chart.Scatter
Chart.XY
Crosstab Table
Data Calendar
Data List
Data Menu
Data Multi-Column List
Data Table
Data Tree
DataLayer.Cached
Default Values
Email List
External Definitions
Extra Gantt Column
Extra Grid Layer
Extra Polar Layer
Extra Scatter Layer
Extract
Gauge.Angular
Gauge.Arc
Gauge.Balloon Bar
Gauge.Bar
Gauge.Bullet Bar
Gauge.Indicator
Gauge.Needle
Gauge.Number
If Data Error
Input Checkbox List
Input Combo List
Input Radio Buttons
Input Select List
Interactive Data View Applet
Join
Json Data
Local Data
Lookup
Map Markers
Map Polygons
Map Polylines
Marker Band
Marker Line
Marks
Milestone Column
Pattern Block
PDF Form
Procedure.Data
Procedure.Run Datalayer Rows
Right
Right From Role
Rights From DataLayer
Series.Area
Series.Area Range
Series.Area Spline
Series.Area Spline Range
Series.Bar
Series.Bar Range
Series.Box Plot
Series.Bubble
Series.Funnel
Series.Heatmap
Series.Line
Series.Pie
Series.Pyramid
Series.Scatter
Series.Spline
Series.Waterfall
Series.Whiskers
Sharing List
Sparkline.Area
Sparkline.Bar
Sparkline.Line
Sparkline.WinLoss
Subdata Layer
Table
Text Cloud
User Roles
Word Form
Xml Data
XOLAP Cube
XslFo Data


CHILD ELEMENTS

Click element to drill down for more information.

Aggregate Column
Analysis Filter Insert
Calculated Column
Change Case
Color Range Column
Color Spectrum Column
Compare Columns
Compare Filter
Comparison Filter
Condition Filter
Contain Filter
Contains Filter
Convert Units
Crosstab Filter
Data Layer Link
Data Layer Plugin Call
DeDuplicate Filter
DeDuplication Filter
Difference Column
Ends With Filter
File Column
Flattener
Forecast.Current Time Period
Forecast.Regression
Forecast.Time Series Decomp
Formatted Column
Geocode Columns
Group Filter
HierarchicalLookup.SP
HierarchicalLookup.SQL
HierarchicalLookup.WebService
Http Body
If Data Error
Insert String
Join
Link Parameters
Lookup
Lookup.SP
Lookup.SQL
Lookup.WebService
Moving Average Column
Pad String
Percent of Total Column
Predicted Column
Range Filter
Rank Column
RegEx Filter
Relevance Filter
Remove Columns
RenameColumns
Replace String
Replace Value
Reverse Geocode Columns
Running Total Column
Security Filter
Sequence Column
Sort Filter
Starts With Filter
Substring
Switch Column
Time Period Column
Trim String
UnCrosstab Filter
Unit Conversion Column
Unpivot
Validate Date
Validate Number
Validate RegEx
Validate String
XSL Transform


 Back to top


 Chart Debug