About schema elements

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:52

The 15 standard GN4 article elements are listed below:

 

ELEMENT NAME

COMMENT

1

kicker" minOccurs="0" maxOccurs="1"

if renamed, requires changes in entire configuration and related XSL files

2

head" minOccurs="0" maxOccurs="1"

no changes

3

subhead" minOccurs="0" maxOccurs="1"

no changes

4

webHead" minOccurs="0" maxOccurs="1"

difference of case (h instead H) requires changes in all XSL files

5

intro" minOccurs="0" maxOccurs="1"

if renamed, requires changes in entire configuration and related XSL files

6

body" minOccurs="0" maxOccurs="1"

no changes

7

webBody" minOccurs="0" maxOccurs="unbounded"

difference of case requires changes in all XSL files: possibility - keep webBody

8

smsBody" minOccurs="0" maxOccurs="unbounded"

renamed

9

pullquote" minOccurs="0" maxOccurs="unbounded"

renamed

10

photoCaption" minOccurs="0" maxOccurs="unbounded"

renamed

11

audioCaption" minOccurs="0" maxOccurs="unbounded"

renamed

12

videoCaption" minOccurs="0" maxOccurs="unbounded"

 

13

urlCaption" minOccurs="0" maxOccurs="unbounded"

renamed

14

blogPost" minOccurs="0" maxOccurs="1"

if renamed, requires changes in entire configuration

15

jumpHead" minOccurs="0" maxOccurs="1"

if renamed, requires changes in entire configuration

It may happen that a site requires new or different elements. In that case, you may attempt to match the same elements and to decide whether to rename/remove existing elements. The below table gives some hints.

SITE ELEMENTS

GN4 STANDARD ELEMENTS

COMMENT

strap" minOccurs="0" maxOccurs="1"

kicker" minOccurs="0" maxOccurs="1"

if renamed, requires changes in entire configuration and related XSL files

head" minOccurs="0" maxOccurs="1"

head" minOccurs="0" maxOccurs="1"

no changes

subhead" minOccurs="0" maxOccurs="1"

subhead" minOccurs="0" maxOccurs="1"

no changes

by_line" minOccurs="0" maxOccurs="1"

 

if added, minimum changes

webhead" minOccurs="0" maxOccurs="1"

webHead" minOccurs="0" maxOccurs="1"

difference of case (h instead H) requires changes in all XSL files

websummary" minOccurs="0" maxOccurs="1"

 

if added, minimum changes

standfirst" minOccurs="0" maxOccurs="1"

intro" minOccurs="0" maxOccurs="1"

if renamed, requires changes in entire configuration and related XSL files

blurb" minOccurs="0" maxOccurs="*"

 

 

body" minOccurs="1" maxOccurs="1"

body" minOccurs="0" maxOccurs="1"

no changes

webbody" minOccurs="1" maxOccurs="1"

webBody" minOccurs="0" maxOccurs="unbounded"

difference of case requires changes in all XSL files: possibility - keep webBody

mobile" minOccurs="1" maxOccurs="1"

smsBody" minOccurs="0" maxOccurs="unbounded"

renamed

quote" minOccurs="0" maxOccurs="*"

pullquote" minOccurs="0" maxOccurs="unbounded"

renamed

tab" minOccurs="0" maxOccurs="*"

 

 

photo" minOccurs="0" maxOccurs="*"

photoCaption" minOccurs="0" maxOccurs="unbounded"

renamed

mmedia" minOccurs="0" maxOccurs="*"

audioCaption" minOccurs="0" maxOccurs="unbounded"

renamed

 

videoCaption" minOccurs="0" maxOccurs="unbounded"

 

weblink" minOccurs="0" maxOccurs="*"

 

 

url" minOccurs="0" maxOccurs="*"

urlCaption" minOccurs="0" maxOccurs="unbounded"

renamed

Note: if you intend to import content and/or formatting elements (formats, object libraries, edition templates) from a GN3 system, then you have two choices:

1.If you keep the GN3 element names in GN4, you will not need to adjust in all exported files the object type names.

2.If you rename the GN3 element names to something else, you will need to adjust manually in all exported files the object type names.