Home > database >  How to generate XML?
How to generate XML?

Time:09-26

I use the original concept of 10 + SQL server 2000 software
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 file

CodePudding user response:

reference 1st floor pcwe2002 response:
how to use it in the help file for the landlord to see PB10 pbdom

PB9, sorry, wrong number
Pb10 and 11 has been felt bad to use, not upgrade,

CodePudding user response:

reference 1st floor pcwe2002 response:
how to use it in the help file for the landlord to see PB10 pbdom

For example:
 & lt; ? The XML version="1.0" encoding="GBK"?> 







Dropped in to see pbdom

CodePudding user response:

reference 1st floor pcwe2002 response:
how to use it in the help file for the landlord to see PB10 pbdom

Just checked the manual, but I didn't understand...
Could you help me simple explanation?

CodePudding user response:

If you use pb10, save can save directly into XML format

If you are using pb9, can directly use fileopen, filewrite to generate XML file

Or use PB provide pbdom PBD

CodePudding user response:

reference 5 floor lzp_lrp reply:
, if you use pb10 save can save directly into XML format

If you are using pb9, can directly use fileopen, filewrite to generate XML file

Or use PB provide pbdom PBD to implement

Save directly? In the development environment?
I want to let the customer generated,
Could you please point in detail, thank you.
  • Related