> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Monday, September 19, 2005 8:19 AM > To: [email protected] > Subject: Re: [U2] XML question on UniData 6.0 > > [EMAIL PROTECTED] wrote: > > Yes, you've read this before. But all the XML experts must > have been on > > vacation, so I'm posting it again in hopes that they 're back. > > > > Is there a way to define the following XML section in a > Unidata 6.0 extraction > > file, so that it will give me a single date (07/20/2005) > value/DICT entry, > > without having to define individual Month (07), Day(20), Year > > (2005) DICT items and then using an I-Type to rebuild it? > > Use an I-type to rebuild what? Why not just create Day, Month > and Year as i-types that do the conversion (or as synonyms). > > I'm using UV syntax, but I'd either create a D-type called eg > Year with a conversion field (field 3) of "D2[Y4]" (or > whatever the correct syntax is, or an i-type with a location > field (field 2) of "OCONV(..., "D2[Y4]")". > > I don't know if the first syntax would work in UV, so I > certainly don't know if it would work in UD ... > > Not knowing what you mean by "rebuild", I can't offer any > further hints... > > Cheers, > Wol
I think what he's saying is that he doesn't want to define A|S|D descriptors (separate fields) for day, month and year; instead he wants a single UV field DATE, containing an idate constructed from the 3 XML entities. -Keith ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
