xtags question with when tag

2001-12-22 Thread Richard Sand
Hi all, I have a simple xtags file that loops through all of the topics and keywords in an xml help file. My loop is: Within this loop, I want to process topics different than keywords. I haven't been able to find a way to do this. I tried to do it by testing for the existence of a child tha

Re: rtexprvalue apparently being ignored for xtag forEach select parameter

2001-12-19 Thread Richard Sand
Sorry BTW when I put the entire select string into a variable, it works, i.e. this works: <% String xpath = "/help/" + subjectstr + "[" + subjectstr + "-key=$subjectjey][1]"; %> So, the conclusion that I draw is that the JSP compiler isn't accepting a combination of text and expression inside a

Re: rtexprvalue apparently being ignored for xtag forEach select parameter

2001-12-19 Thread Richard Sand
s! -Richard - Original Message - From: "Richard Sand" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 11:28 AM Subject: Re: rtexprvalue apparently being ignored for xtag forEach select parameter &

Re: rtexprvalue apparently being ignored for xtag forEach select parameter

2001-12-19 Thread Richard Sand
d - Original Message - From: "James Strachan" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 11:13 AM Subject: Re: rtexprvalue apparently being ignored for xtag forEach select parameter > Hi Ri

rtexprvalue apparently being ignored for xtag forEach select parameter

2001-12-19 Thread Richard Sand
Hi, My xtags tag is: where subjectstr is a string that can be set to "topic" or "keyword". However, I get the following exception: Message: org.dom4j.InvalidXPathException: Invalid XPath expression: /help/[-key=$subjectkey][1] Expected one of '.', '..', '@', '*', You can see from the except

getting xtags to work with Tomcat 3.2.2

2001-07-12 Thread Richard Sand
Hi James- that's exactly what was happening. All I did to make it work was make sure all of the jar files in xtags were in my classpath, and then I removed the jaxp.jar and parser.jar that Tomcat 3.2.2 installs with. Thanks for your help! -Richard - Original Message - From: "James Stra

Re: jsp:include in custom tags

2001-07-09 Thread Richard Sand
Hi all- I'm trying to use the xtags-1.0 tag library example called styledemo.jsp but I'm getting the following exception: javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Namespace not suppor

Re: Custom attributes and nested tags

2001-01-29 Thread Richard Sand
You must use different variables for the inner tag. I wrote a nested tag that loops through a database result set, and I wrote it so that I can have nested loops: i.e. the outer loop goes through records 1 through n by 3, and the inner loop goes through outer-loop to outer-loop + 3. To avoid th