System.out.println("TO BE SORTED ON PARAM ID :" + sort_val); System.out.println("ORDER OF SORTING :" + sort_order); String file_path = "C:\\ptc\\Windchill\\codebase\\rs\\jsp\\jsp";
File xmlfile = new File(file_path.concat("\\temp.xml")); File stylesheet = new File(file_path.concat("\\rsdstylesheet.xsl"));
the error i am getting is runtimeException as the ElemTemplateElement error:attribute " order has illegal value whats wrong here please help is needed. regards sharang [ Ajith disabled smilies ] [This message has been edited by Ajith Kallambella (edited August 08, 2001).]
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5782
posted
0
The sort parameter "param2" should be initialized to a non-empty value. Check your stylesheet. HTH ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Sharang Thorat
Greenhorn
Joined: Dec 07, 2000
Posts: 21
posted
0
Hi even after giving the default value the error pesists. consider a tag where in i am using param2 <xsl:sort select="some expr" order="{$param2}" /> it fails to extract the proper value of param2 parameter which i have passed it always takes the default value. regards sharang