Newbies Matty Posted July 31, 2007 Newbies Posted July 31, 2007 I am new to XML/XSL and am trying to get an if statement to work but I can't seem to get the language right. I want to show a link based on the contents of a field in my database. ie: if there is no data in the field I don’t want a link (or image to the link) to be displayed but if there is any data in the field (the data in the field would be a link)I want it to be displayed as a link. Any help would be greatly appreciated. I have found this forum to be very helpful in the past.
Mikhail Edoshin Posted August 2, 2007 Posted August 2, 2007 The statement should be like that <-- whatever --> This assumes you have only one record in your found set; otherwise you'll have to use more sophisticated XPath expression to get to the field.
Recommended Posts
This topic is 6324 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now