I'm trying not to go down the path of customization too much with regards to symbology and feature properties... (Connect Edition)
Is it possible to set the elements color based on a xmlfragments property?
Example of my feature layout below, how would I set the shape to be greeen if XMLListItemProp2's value was True?
I've also shown one of my many attempts at using a Theme file ....
Feature --Prop1 --Prop2 --XMLFragment --XMLListItem1 --XMLListItemProp1 --XMLListItemProp2 --XMLListItemProp3 --XMLListItem2 --XMLListItemProp1 --XMLListItemProp2 --XMLListItemProp3
<IOgcTheme xmlns="GeospatialMasterSchema.01.00"> <Key>917d1e1a-26d0-489f-b6ed-56813342c48b</Key> <Name>917d1e1a-26d0-489f-b6ed-56813342c48b</Name> <Description /> <SubfeaturesOverThemeClasses>True</SubfeaturesOverThemeClasses> <CartographicStylesDisplayOrder>0</CartographicStylesDisplayOrder> <DisplayPriorityOverride>False</DisplayPriorityOverride> <GeometricType>POLYGON</GeometricType> <FeatureTypeName>Feature</FeatureTypeName> <Version>3</Version> <ThemeClasses> <IOgcThemeClass> <Key /> <Name>Feature</Name> <Description /> <XPath>/XMLFragment/XMLListItem1[XMLListItemProp2 = 'True']</XPath> <ClassName>Excl Licence</ClassName> <IsScaleOverrideActive>False</IsScaleOverrideActive> <DisplayOrder>0</DisplayOrder> <PolygonThemeStyle> <Key>Feature:</Key> <Name>Feature</Name> <Description /> <ApplyDrawingScale>True</ApplyDrawingScale> <DisplayPriority>0</DisplayPriority> <StyleElementClass>Primary</StyleElementClass> <IsStrokeLineStyleByLevel>False</IsStrokeLineStyleByLevel> <StrokeLineStyleScale>1</StrokeLineStyleScale> <StrokeLineStyleName /> <StrokeLineStyle> <Key>MicroStation:0</Key> </StrokeLineStyle> <IsLineWeightByLevel>False</IsLineWeightByLevel> <LineWeight>1</LineWeight> <IsLineColorByLevel>False</IsLineColorByLevel> <LineColorTransparency>0</LineColorTransparency> <LineColor> <Key>MicroStation:0</Key> <Blue>0</Blue> <Green>0</Green> <Red>0</Red> <RGBComponentsSet>False</RGBComponentsSet> </LineColor> <UseOverrideMask>False</UseOverrideMask> <OverrideMask>NONE</OverrideMask> <Level>Feature</Level> <FillColorTransparency>0</FillColorTransparency> <FillColor> <Key>MicroStation:6</Key> <Blue>0</Blue> <Green>127</Green> <Red>255</Red> <RGBComponentsSet>False</RGBComponentsSet> </FillColor> </PolygonThemeStyle> <ScaleClasses> <IOgcScaleClass> <Key /> <Name>Scale: 1:0 - Unlimited</Name> <Description /> <MinimumScale>-1</MinimumScale> <MaximumScale>-1</MaximumScale> <IsStyleOverrideActive>True</IsStyleOverrideActive> <DisplayState>FULLY_DISPLAYED</DisplayState> <PolygonScaleStyle> <Key>CadastrePrimaryLot:</Key> <Name>PPLE</Name> <Description /> <ApplyDrawingScale>True</ApplyDrawingScale> <DisplayPriority>0</DisplayPriority> <StyleElementClass>Primary</StyleElementClass> <IsStrokeLineStyleByLevel>False</IsStrokeLineStyleByLevel> <StrokeLineStyleScale>1</StrokeLineStyleScale> <StrokeLineStyleName /> <StrokeLineStyle> <Key>MicroStation:0</Key> </StrokeLineStyle> <IsLineWeightByLevel>False</IsLineWeightByLevel> <LineWeight>1</LineWeight> <IsLineColorByLevel>False</IsLineColorByLevel> <LineColorTransparency>0</LineColorTransparency> <LineColor> <Key>MicroStation:0</Key> <Blue>0</Blue> <Green>0</Green> <Red>0</Red> <RGBComponentsSet>False</RGBComponentsSet> </LineColor> <UseOverrideMask>False</UseOverrideMask> <OverrideMask>NONE</OverrideMask> <Level>cadPrimary</Level> <FillColorTransparency>0</FillColorTransparency> <FillColor> <Key>MicroStation:6</Key> <Blue>0</Blue> <Green>127</Green> <Red>255</Red> <RGBComponentsSet>False</RGBComponentsSet> </FillColor> </PolygonScaleStyle> </IOgcScaleClass> </ScaleClasses> </IOgcThemeClass> </ThemeClasses> </IOgcTheme>