comp.text.xml
[Top] [All Lists]

Re: reading dateTime with msxml

Subject: Re: reading dateTime with msxml
From: winston
Date: Wed, 16 Jul 2008 09:23:12 -0700 PDT
Newsgroups: comp.text.xml

On Jul 16, 4:45 am, Martin Honnen <mahotr...@xxxxxxxx> wrote:
> winston wrote:
> > I've been trying to search for this for a while now and can never find
> > anything. Here's my situation. I'm writing a c++ MFC application and
> > I'm using MSXML6 to parse an xml file. I need to parse a dateTime data
> > from the xml file into a time_t object. Could that be easily done in
> > MSXML6? Seems like an essentially simple task that MS should have
> > included but i just cant find documentation on this thing!
>
> > The dateTime data in my xml file looks like this
>
> > <timeStamp>2008-05-19T18:11:15</timeStamp>
>
> MSXML has a property 
> nodeTypedValuehttp://msdn.microsoft.com/en-us/library/ms762308(VS.85).aspx
> but that works only for XDR schema types, not for W3C XML schema types.
>
> Other than that I don't know of a feature in MSXML to read typed values.
> --
>
>         Martin Honnen
>                                        JavaScript.FAQTs.com/">http://JavaScript.FAQTs.com/

Yeah i came across the XDR stuff but unfortunately im using the w3c
schema and my file type is an xsd. I appreciate your reply
nevertheless. If anyone could come up with a way to do it in my
situation, i'd appreciate it.

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy