I am creating an Xform that reads an XML document and creates an input form for updating the document. However, apparently due to a namespace issue none of my Xpath expressions resolve.My form works fine on a simple instance when the instance file has no namespace. However, I need the namespace support.
My instance file has a namespace "ai:inventory."
I am referencing the instance data
Where should I be declaring the prefix "ai" for my namespace so that my XPath expressions can find the appropriate elements? /ai:inventory/products ?
I've tried creating the prefix in the html opening tag... that didn't help.
thanks,