using xtags and io to modify foo.xml

2001-08-22 Thread William C. Robertson
After pulling and parsing an xml document, I would like to modify it and save it again: <% File file=new File("/usr/local/foo.xml"); FileWriter fileWriter = new FileWriter( file ); %> Yet I get "Illegal to flush within a custom tag". Does someone know why or have an alternate solution

RE: Tag Lib for Excel?

2001-08-01 Thread William C. Robertson
To generate an excel speadsheet in the browser, begin the page with the content type, then load the page with data. Use a separate line for each row of data and a tab to separate columns: <%@ page contentType="application/vnd.ms-excel" %> TX FL CA 1 .12 .5 .8 2

RE: xtag:context and xtag:variable

2001-07-15 Thread William C. Robertson
James Strachan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 10:40 PM To: [EMAIL PROTECTED] Subject: Re: xtag:context and xtag:variable HI William From: "William C. Robertson" <[EMAIL PROTECTED]> > > does not seem to behave the same as it's cousin >

RE: xtags:ForEach question (involving parameters)

2001-07-13 Thread William C. Robertson
Hi John, I think it will work if you assemble the entire string outside of the xpath tag then use a string variable in the tag. ie: String var="//person[child::name[contains(text(), '" + request.parameters("name") + "')]]" then ... Make sure the request part is done right (can't re

xtag:context and xtag:variable

2001-07-12 Thread William C. Robertson
Hello all, does not seem to behave the same as it's cousin . For the same path, forEach works but context doesn't. Is there something I'm missing? will return "an Object or List" if "node" is not specified. Is the list a list in the sense of a "linkedList" or part of the io package? Where ca

RE: tag not working

2001-06-26 Thread William C. Robertson
Alex, I had the same problem. I put everthing where they were supposed to go and itdidn't work. Then Ihad to shutdown and restart the server for an unrealted reason ant the tags worked. Try restarting your server. -Original Message- From: alex chang [mailto:[EMAIL PROTECTED]]

RE: xtags questions

2001-06-25 Thread William C. Robertson
Elisa, could you have cast your total variable into an integer? ie: The total is <%= (int)total %> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Elisa Green Sent: Monday, June 25, 2001 8:31 AM To: [EMAIL PROTECTED] Subject: Re: xtags questions I used