michaelasfen.blogg.se

Xojo clear string array
Xojo clear string array










xojo clear string array

xojo clear string array

This will be of the form ns:arrayName, where "ns" is the prefix for schemaNS and "fNS" is the prefix for fieldNS. Returns the string with the composed path. It must be the name of a field that is itself simple. Must be a simple XML name, must not be an empty string. The name of the field used as the selector. The namespace URI for the field used as the selector. May be a general path expression, must not be an empty string. Path=ComposeFieldSelector ( schemaNS, "Downloads", fieldNS, "City", chosenCity)Įxists = GetStructField ( schemaNS, path, fieldNS, "URI", uri ) You can then get the corresponding URI as follows: You can show the user a popup built from the values of the city fields.

Xojo clear string array download#

Use this to create an array of download alternatives.

xojo clear string array

The other form of content addressing is shown in ComposeLangSelector.įor example, consider a simple struct that has two fields, the name of a city and the URI of an FTP site in that city. The form used in ComposeFieldSelector lets you select an item in an array of structs based on the value of one of the fields in the structs. The path syntax allows two forms of "content addressing" that may be used to select an item in an array of alternatives. ComposeFieldSelector(schemaNS as string, arrayName as string, fieldNS as string, fieldName as string, fieldValue as string) as stringĬompose the path expression to select an alternate item by a field's value.












Xojo clear string array