[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Matching the first text element in a subtree
Michael Kay wrote:
oXygen complains that "Axis in pattern must be child or attribute", meaning presumably that only element nodes, not text nodes, can be selected using this axis. What a strange restriction. I wonder what the reasoning behind it is. Can anyone suggest how to go about selecting the first text node which is a descendant of the p tag?
Thanks to everyone for the helpful suggestions. Cheers, Martin But most people, I think, end up doing the work at the apply-templates level rather than in the match pattern.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|