KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Look at the following two examples: <foo>some text <bar/> and maybe some more</foo> and <foo>some text <bar/> and a last <bar/></foo> Mixed text nodes and bar elements within the foo element. Now I am in foo , and want to find out if the last child is a bar . The first example should prove false, as there are text after the bar , but the second example should be true. How can I accomplish this with XSLT?
Tags (comma-separated)
Save Edits
Cancel