handling metadata with multiple values

Ray Plante rplante at poplar.ncsa.uiuc.edu
Tue Aug 12 12:06:38 PDT 2003


On Tue, 12 Aug 2003, Wil O'Mullane wrote:
> you would have
> <ucdList>
> 	<string> ucd1</string>
> 	<string> ucd2</string>
> </ucdList>
> I do not like this.
> 
> 
> But nothing wrong with (and you mentioned in your own mail
> <ucdList>
> 	<ucd> ucd1</ucd>
> 	<ucd> ucd2</ucd>
> </ucdList>

I see.  In your case with using a SAX parser, you just look for "ucd" 
(bypassing the ucdList--it doesn't get in your way).  Access with the SAX 
parser is the same, but with <ucdList> it's easier to read visually.

Ray





More information about the registry mailing list