I think you're pretty much stuck with doing it in your program. You might subroutine it and call it when </Date> is encountered. At least then it'll be useful for similar schema.
-Keith > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Metherall, Arthur > Sent: Tuesday, September 20, 2005 4:54 AM > To: [email protected] > Subject: RE: [U2] XML question on UniData 6.0 > > Hello, > > Sorry I wasn't clear. > > Yes, I want to load a single UniData internal or external > date field from the XML date fields. > > Instead of having to save them as three individual fields > and then combine them in an I-Type or doing it inside my > UniBasic program. > > How do I need to define my Unidata 6.0 XML extraction file > to do this? > > Thanks. > > - - - - - - - - - - - - > Arthur E. Metherall > Sr. Programmer Analyst > Courier Corporation > - - - - - - - - - - - - > > -----Original Message----- > From: Metherall, Arthur > Sent: Monday, September 19, 2005 10:57 AM > To: [email protected] > Subject: [U2] XML question on UniData 6.0 > > > 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? > > <BusinessAcknowledgementDate> > <Date> > <Year>2005</Year> > <Month>07</Month> > <Day>20</Day> > </Date> > <Time>14:47:45</Time> > </BusinessAcknowledgementDate> > > This is a predetermined XML format for handling dates with > our customers, I can't change the structure. > > Thanks, > > Arthur > > - - - - - - - - - - - - > Arthur E. Metherall > Sr. Programmer Analyst > Courier Corporation > - - - - - - - - - - - - > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
