Scriptella: XML to DB: Insert Into from XPATH
问题 I have an XML file that looks like this: <XML> <Table name='test'> <Row> <Field name='key'>1000</Field> <Field name='text'>Test</Field> </Row> </Table> </XML> id like to parse this xml and use it within an insert statement: <query connection-id="in"> /XML/Table/Row <script connection-id="out"> INSERT INTO X t ( t.entitykey, t.text ) VALUES ( ???????? ); </script> </query> How do I access a specific Field-Tag from within the insert statement using XPATH? We prefer to have one XSD that takes