Newbies iwerks Posted March 17, 2003 Newbies Share Posted March 17, 2003 Greetings all I have the follow example of xml file: <?xml version="1.0"?> <store> <book> <title>The Fall</title> <authorName>Wayne</authorname> </book> <book> <title>Mysterious Ways</title> <authorName>Stephen Gerard</authorname> </book> <book> <title>Inside XSLT</title> <authorName>David Ross</authorname> </book> <book> <title>Legends of Olf the Wizard </title> <authorName>P.Jerry</authorname> </book> </store> ..the question is, how can i use the XSL to output only the contents (that is, the title and authorname) for book titles Mysterious Ways and Inside XSL, without display the first and the last book titles in the XML file? Is this possible? Thanks in advance. Link to comment Share on other sites More sharing options...
beverly Posted May 7, 2003 Share Posted May 7, 2003 Use <xsl:if> to test for these values and only use the "matches". Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7671 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