Hi all,

Has anyone been thinking about customised functins like synonym() or antonym()? or it's already been done  by anyone? just in case that we have to handle with string elements. is it possible to develop and extend the functions to Saxon packages? As below, just a rough idea:

for $item in doc("file:///c:/F.xml")//f

where  synonym($item/element_name, "photo")


another matter is i've got a error message from java application:
"A sequence of more than one item is not allowed as the first argument of lower-case()"

it seems the function allows to parse no more than one element node. what if would like to? possible?

Waraporn J.

The wait is "Ogre"! Shrek "2sday" is here! Buy the Video or DVD to see tons of amazing extras including the Shrektastic mini-film "Far Far Away Idol"!