Want to generate XML, what should I do?
On the Internet, will only generate the most basic auto mode, the other can't read
I'd like to generate such a:
1. The root element (business)
The root element of the element called business (lowercase)
Root element contains two attributes: id (lowercase) and a comment (lowercase), attribute id is mandatory; Attribute the comment is optional, the root element contains one or more secondary element (group)
2. The secondary element (group)
Secondary called the group of elements (lowercase)
Each secondary element can contain zero or more level 3 element data
Each secondary element can contain zero or more root element (business)
Under each secondary element contains at least 1 level 3 element data or 1 root element (business)
3. The three elements (data)
Elements called data of three elements (lowercase)
Element data contains two attributes: name (lowercase) and value (lower case),
If under the same root element contains more than one element group, each group elements contained in the three elements (data) and the root element (business) number must be exactly the same respectively; The value of the additional data element attribute name must be exactly the same
The database name: yymis_TFHD
Table: dbo FPMX_DZFP
Provides several field name (the attribute to assign values to some fields in cnmarc) : WDBH, kpf_nsrsbh, kpf_mc, skf_nsrsbh
CodePudding user response:
The building Lord see use pbdom PB10 help fileCodePudding user response: