G'day Jamie,
If you are going down the path of using UV then first, be aware that there
is a bug in the UV/Xerces parser interface (I think releases prior to UV
v10.0.19) will bomb out after parsing a few hundred documents under load.

We're using the parser and receiving XML invoice documents posted by
suppliers (handed thru the firewall from an external webserver). After the
xml arrives it gets converted directly into a dynamic array record using the
U2 extraction process. prepareXML(), openXMLData(), loop readXMLData() per
repeating set, closeXMLData(). This is works well except for the
aforementioned bug.

The extraction process is somewhat 'simple'. It works by defining an XPath
extraction document. However, U2s implementation of XPath is a minimal
subset of XPath commands which makes it cumbersome compared to using a full
implementation. It also makes a U2 field name a mandatory association with
each element then it doesn't actually seem to do anything with it.

Extraction of each defined element is to the next attribute so defining the
order of the extraction elements is important. Also, because the XPath
commands in U2 are limited, if the XML document is at all complex, you may
have to define several extraction documents and apply them one by one to
build up a satisfactory U2 record.

Hope that helps,
Stuart

> -----Original Message-----
> If anyone can give me a few pointers, sample code, even a hint in
> the right direction, I would appreciate it.



**********************************************************************
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 9269 
7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**********************************************************************
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to