Search found 62 matches

by winkimjr2
Thu Jun 26, 2014 11:51 pm
Forum: General XML Questions
Topic: How do I convert a string variable date into a date?
Replies: 3
Views: 26234

Re: How do I convert a string variable date into a date?

I am still confused as to how to do this.
I have the following from xsl

Code: Select all

<NotificationEvent dateServed="06/20/2014"</NotificationEvent>
So how do I convert this date string to date?
by winkimjr2
Thu Jun 26, 2014 9:34 pm
Forum: General XML Questions
Topic: How do I convert a string variable date into a date?
Replies: 3
Views: 26234

How do I convert a string variable date into a date?

I have a xslt which is using a xml document. The xml document has a variable dateServed="06/20/2014". When I run the xslt, I get error FORG0001: Cannot conver xs:string with value '06/20/2014' to xs:date.

What do I need to do to convert this dateServed="06/20/2014" to a date?