resources Element

Updated: September 26, 2009

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Contains a child culture element, and optionally, an associated url element. The culture element defines a locale on which the Web PI feed is supported. The url element defines the path to the resource file associated with the specified locale.

A child resources element is included for each locale.

<resourcesList>
  <resources>
    <culture>en</culture>
  </resources>
  <resources>
    <culture>fr</culture>
    <url>file://D:\projects\LocaleResources.resx</url>
  </resources>
</resourcesList>

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

 

Element Description

culture

Contains a locale abbreviation for the language on which the Web PI is supported.

ImportantImportant
There must be one, and only one, child culture element that does not contain a child url element. This element defines the language used for the strings within the Web PI XML files.

url

Contains the path to the resource file associated with the specified language.

Parent Elements

 

Element Description

resourcesList

Contains child resources elements that define the locales on which the Web PI feed is supported.

Community Additions

ADD
Show: