[Xsltforms-support] insert bug?
Brought to you by:
alain-couthures
From: Stephen C. <Ste...@ut...> - 2010-04-09 07:59:36
|
I've notice that the following will insert a node at the origin if it cannot find a valid nodeset. <xf:insert nodeset="instance('inst_data')//aatams:surgery/aatams:project_person_ref/aatams:project_person" origin="instance('inst_project_person')/gml:featureMember/aatams:project_person[@gml:id=instance('inst_subfeatures')/project_person_id]"/> This adds a 'project_person' after the first and only child of the instance if there is nothing found by nodeset="instance('inst_data')//aatams:surgery/aatams:project_person_ref/aatams:project_person". I can send a test case if needed. Maybe that is correct behaviour? -- Regards Stephen Cameron Data Programmer Integrated Marine Observing System (IMOS) eMarine Information Infrastructure Project University of Tasmania, Private Bag 21, Hobart, TAS 7001, Australia Tel: +61 3 6226 8507 Fax: +61 3 6226 2997 Email: ste...@ut... URL: http://www.imos.org.au/eMII.html |