|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xpath problem
At 09:15 AM 5/2/2002, you wrote:
hi, prehaps is the way i wrote the xpath, but i was wondering why will it not work when i tried to use the wildcard(*) in this particular predicate: The other post explained why the first worked and the second did not. My post is to ask what you're trying to accomplish using the =* at all? If you are trying to select all parent nodes that have a child/grandchild subtree, simply say parent[child/grandchild] The equals sign, I believe, is going to initiate a string() call on the grandchild node. Is that what you want? If I were to read this as a conventional programming language (java, Perl, etc), it looks like you're saying that the grandchild can be equal to any string. Well, that's already taken care of in the predicate above.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








