Hi all,

Suppose I wanted to store a list of episodes in metadata. An episode has 2 
properties: start time and end time. I can think of 2 ways to do this:

1) use sub-metadata groups
<key>Episode/1/start</key>
<val>2011-01-15</val>
<key>Episode/1/end</key>
<val>2011-01-16</val>
<key>Episode/2/start</key>
<val>2011-01-17</val>
<key>Episode/2/end</key>
<val>2011-01-18</val>

2) declare length, and follow key patterns EpStartN and EpEndN
<key>NumEpisodes</key>
<val>2</val>
<key>EpStart1</key>
<val>2011-01-15</val>

So then the next question is, how do I write elements.xml (in FileMgr policy) 
to accommodate the variable number of keys?

And a follow up question is, how do I retrieve/use this information when 
creating PGE config queries? (SQL(Format='$whatgoeshere') SELECT whatgoeshere 
FROM …)

Or maybe I just shouldn't store objects in metadata...

Thanks,
Ricky
---------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
is for the sole use of the intended recipient(s) and may contain confidential
or legally privileged information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this original
message.  

---------------------------------------------------------------------

Reply via email to