Originally posted by Paul Clapham:
Yes, you can. And if you were trying to ask how, well, the XSLT "or" operator is "or".
Originally posted by Veronica Damian:
hi,
I need to pass a param in query string of url and pass it to a link that's in XSL..
http://www.mysite.com/attendees.jsp?eventid=<valueHere>
there is a custom tag that prints dynamic content w/an XSL stylesheet..
<placeContent:DisplayTopArticles ... styleSheet="/xsl/dta_body.xsl">
we cannot alter structure of XML (by adding a tag or a param to an existing tag), so... how to pass 'eventid' param to the XSL stylesheet specified in this tag?
thank you very much..
Originally posted by Joe Ess:
No to both of your questions. File can resolve relative paths. It does not take URL's of the format "http", but will take URL's of the format "file:". Are you deploying your app to a Unix server? They use different file path roots and seperators.
It is a Bad Idea to try to use hard-coded file locations in web applications. They are just too easy to break. javax.servlet.ServletContext has methods to obtain information about your deployment. Have a look and let us know what you find out.