Newbies iwerks Posted March 17, 2003 Newbies 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.
beverly Posted May 7, 2003 Posted May 7, 2003 Use <xsl:if> to test for these values and only use the "matches".
Recommended Posts
This topic is 7871 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