Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL with no result search

Status
Not open for further replies.

th3w0rld1sn0t3n0ugh

Programmer
Aug 31, 2004
4
ZA
I have a xsl file which skins a Livelink search result. However if no result is found by the Livelink search engine I get the following response:

Code:
 <?xml version="1.0" encoding="ISO-8859-1" ?> 
- <output>
- <SearchResults>
  <SearchResult>Sorry, no results were found</SearchResult> 
  </SearchResults>
  </output>

How do I get my XSL file to skin a 'no result' response?




 
Do you use Livelink 9.1? Then you need to change "resultlist.xml" at the module directory because Livelink 9.1 only uses the xsl stylesheet if there is at least one result. If there are no results it does not transform the xml output.
 
Yes I do use 9.1... Thanks for the great tip!!! I have also been able to format the text with HTML...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top