96149efa
Isaac Lewis
working query browse
|
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<Browse xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="COMBRW.XSD">
<BrowseName><%= @browse_name %></BrowseName>
<StartAtKey/>
<StartCondition><%= @start_condition %></StartCondition>
<ReturnRows><%= @return_rows %></ReturnRows>
<% for @filter in @filters %>
<Filter>
<ColumnFilterName><%= @filter[:name] %></ColumnFilterName>
<ColumnFilterValue><%= @filter[:value] %></ColumnFilterValue>
</Filter>
<% end %>
<BrowseDetails>
<TableName><%= @table_name %></TableName>
<Title><%= @title %></Title>
<% for @column in @columns %>
<Column>
<% unless @column[:name].nil? %><ColumnName><%= @column[:name] %></ColumnName><% end %>
<% unless @column[:description].nil? %><ColumnDescription><%= @column[:description] %></ColumnDescription><% end %>
<% unless @column[:key].nil? %><ColumnKey><%= @column[:key] %></ColumnKey><% end %>
</Column>
<% end %>
</BrowseDetails>
</Browse>
|