Re: Using Java variables in Xtags select

2006-09-29 Thread Ashish Srivastava
Xtags select Have you set up JSTL? If you use the latest version JSTL1.1 core tags you can do this: > select="//[EMAIL PROTECTED]/class"> > ... > Here are some JSTL installation instructions: http://jakarta.apache.org/taglibs/doc/standard-doc/standard/Get

Using Java variables in Xtags select

2006-09-28 Thread Ashish Srivastava
Hi, I am using xtags library in a JSP and am having trouble using Java variables while selecting XML nodes. The XML to be parsed is: ... ... Where child_id is a Java variable defined in the JSP. The above code throws an exception complaining about '<' in t

How to polulate fields in the content read from an XML document?

2004-04-23 Thread Ashish Srivastava
= /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ /_/_/_/Ashish Srivastava/_/_/_/ /_/_/([EMAIL PROTECTED])_/_/_/ /_/http://www.pranshatak.com _/ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25ยข http

Re: How to correctly read all the characters in XML?

2004-04-22 Thread Ashish Srivastava
I am sorry I cut and pasted a wrong link. The output is coming as : Thanks, -Ashish --- Ashish Srivastava <[EMAIL PROTECTED]> wrote: > Hi, >I have a following XML : > > > > href="javascript:openPopup("e;/link.html","Tips",100,1

How to correctly read all the characters in XML?

2004-04-22 Thread Ashish Srivastava
Hi, I have a following XML : The jsp uses xtags library to read this XML as : "> The output is coming as : See how most of the " were not taked care of and its broken because of this. I tried to use and also encompassing with around it but nothing worked. Please help! Thanks

not rendered correctly

2004-03-30 Thread Ashish Srivastava
= /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ /_/_/_/Ashish Srivastava/_/_/_/ /_/_/([EMAIL PROTECTED])_/_/_/ /_/http://www.pranshatak.com _/ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html

jsp code with in XML content

2004-03-29 Thread Ashish Srivastava
Hi, I wrote some page renderers for a website in jsp. The content of the page though is read from XML files. I use xtags library (using XPath) to read the XML and fill in the values in the jsp. I am new to XPaths but is it possible to add JSP codes with in the XML and when the renderer (jsp) read

translate funtion with in xtags library

2004-03-25 Thread Ashish Srivastava
Hi, I have a following XML : Link I am using xtags-library to read the summary as : All the "'" are converted into ' It works on mozilla but not Netscape 4.79. I tried saving the page and then manually replaced all "&apos" back to "'" and it worked. Now, what I am trying to d