You can use a function as a relative step, also called a relative function call. The following query shows tolower as a relative function call:
select xmlextract ( '//book[title="Seven Years in Trenton"]//tolower(first-name)', text_doc) from sample_docs where name_doc='bookstore'--------------------------------------joe
This example shows that the parameters of a relative function must be a relative path expression; that is, it cannot begin with a slash (/) or a double slash(//).
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |