A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Error while using xs:dateTime in an XSL and transforming it using a Java program
Joined: Dec 24, 2007
Aug 10, 2009 09:01:18
I have put the below schema defintion and
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rm="OTC_RM_Rates_4-0"
xsi:schemaLocation=" OTC_RM_Rates_4-0 /xmls/OTC/OTC_RM_Rates_4-0.xsd OTC_Matching_Rates_4-0 /xmls/OTC/OTC_Matching_Rates_4-0.xsd
and I am trying to get "Year" from a variable $field that stores the date in some other format as in below
While running the
program that transforms this xsl, I am getting the below error.
"The first argument to the non-static Java function 'dateTime' is not a valid object reference"
I am very novice to the schema etc and as luck would have it I have to work this some how.
Any help would be greatly appreciated.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Error while using xs:dateTime in an XSL and transforming it using a Java program
Why do I see different wsdl and xsd generated for webservice through wsgen.
org.w3c.dom.DOMException: DOM003 Namespace error
DST issue with GregorianCalendar
Validating a SOAP document using XSD
HTTPS URL in XSD Schema validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015