Subject:delimiting values of attribute and element Author:neo k Date:14 Aug 2008 05:12 PM Originally Posted: 14 Aug 2008 05:11 PM
Dear all,
I am very new to xquery.
I have a case and i am here for some help. My requirement is, value of an element or an attribute having the same xpath should be delimited using # and should be returned as a new element
In the above case when i query using the path books/book/@bookid the response should be the values of the attribute bookid delimited using # and should look some like
<output> 1#2 </output>
similarly for elements it should look like
<output> Java Web Services # Java Message Service </output>