Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Appendix L XML Conversion Function Mapping Rules |
Mapping rules are marked up as XML, using the following tags:
Tag name |
Description |
Multiple use |
Required item? |
Remarks |
---|---|---|---|---|
This tag is the highest order tag of all the mapping rule tags. |
No |
Required |
- |
|
Specifies rules relating to parent elements. |
Yes |
Required |
Hereafter, rules defined by the parentRule tag are referred to as 'parent rules'. |
|
Specifies rules relating to items. |
Yes |
Optional |
Hereafter, rules defined by the columnRule tag are referred to as 'column rules'. |
|
Specifies rules relating to attributes. |
Yes |
Optional |
Hereafter, rules defined by the attributeRule tag are referred to as 'attribute rules'. |
|
Specifies rules when no XML declaration is defined for the data to be output in XML documents. |
No |
Optional |
Hereafter, rules defined by the documentRule tag are referred to as 'document rules'. |
|
Specifies rules relating to additional information. |
Yes |
Optional |
Hereafter, rules defined by the extensionRule tag are referred to as 'extension rules'. |
Tag ConsolidationWhen the XML conversion function converts records from the ResultSet object to XML documents, multiple elements with the same hierarchical structure can be grouped under a common parent element. This process is called 'consolidation'.
Do not use characters that cannot be used with XML tags or attribute names when setting the tagname and attrname attributes of the columnRule or attributeRule tags. Otherwise, the XML documents output will not be well-formed XML, and could not be used as an input file for Shunsaku.
If characters that cannot be used in XML tag names and attribute names are used in the column names, the column names cannot be used as XML tag names and attribute names. In this case, the tagname attribute name of the columnRule tag and the attrname attribute name of the attributeRule tag must be specified.
Contents
Index
![]() ![]() |