XSLT stylesheet G2xml2Html, v 1 - provided by IPTC ( www.iptc.org)

HTML representation of a G2 XML document:

A News Item

With a @guid = "tag:example.com,2008:407490" and @version = 3

Core information about the item:
Applicable G2-Standard = "NewsML-G2", version = "2.7"
G2 Conformance Level = "power"

List of G2-warnings from parsing the XML

NO warning(s) detected

List of all elements and attributes which are present and their values

News Item = an Item containing news-related information

newsItem
schemaLocation = "http://iptc.org/std/nar/2006-10-01/ ../XSD/NewsML-G2/2.7/specification/NewsML-G2_2.7-spec-NewsItem-Power.xsd"
standardversion = "2.7"
guid = "tag:example.com,2008:407490"
version = "3"
standard = "NewsML-G2"
conformance = "power"
lang = "en"

Catalog Reference = a reference to a remote catalog.

catalogRef
href = "http://www.iptc.org/std/catalog/catalog.IPTC-G2-Standards_13.xml"

Catalog Reference = a reference to a remote catalog.

catalogRef
href = "http://www.example.com/metadata/newsml-g2/catalog.NewsML-G2.xml"

Rights Information = expression of rights applied to be applied to the content and its metadata.

rightsInfo

usageTerms = " Access only for Eurovision Members and EVN / EVS Sub-Licensees. "

br

Item Metadata = set of properties directly associated with the item as a whole.

itemMeta

itemClass
qcode = "ninat:video"

provider
qcode = "providercode:EBU"

name = "European Broadcasting Union - EVN"

organisationDetails

contactInfo

web = "http://www.eurovision.net"

phone = "+41 22 717 2869"

email = "features@eurovision.net"

address
role = "AddressType:Office"

line = "Eurovision Sports News Exchanges"

line = "L Ancienne Route 17 A"

line = "CH-1218"

locality
literal = "Grand-Saconnex"

country
qcode = "ISOCountryCode:ch"

name = "Switzerland"
lang = "en"

versionCreated = "2010-10-19T10:54:04Z "

firstCreated = "2008-11-05T15:22:28Z"

pubStatus
qcode = "stat:usable"

service
qcode = "servicecode:EUROVISION"

name = "Eurovision services"

edNote = "Originally broadcast in Germany"

link
rel = "itemrel:preview"
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517-407624/index.html"

Content Metadata (in a News Item) = a set of properties associated with the content as a whole.

contentMeta

contentCreated = " 2008-12-22T23:04:00-08:00"

located
type = "cptype:city"
qcode = "city:345678"

name = "Berlin"

broader
type = "cptype:statprov"
qcode = "state:2365"

name = "Berlin"

broader
type = "cptype:country"
qcode = "country:DE"

name = "Germany"

creator
qcode = "codesource:DEZDF"

name = "Zweites Deutsches Fernsehen"

organisationDetails

location
literal = "MAINZ"

contributor
qcode = "codeorigin:DEZDF"
role = "rolecode:TechnicalOrigin"

name = "Zweites Deutsches Fernsehen"

creator
qcode = "codesource:GBRTV"

name = "Reuters Television Ltd"

language
tag = "en"
role = "langusecode:PartNarrated"

name = "English"

genre
qcode = "genre:biog"

name = "Biography"
lang = "en"

name = "biographie"
lang = "fr"

subject
type = "cpnat:abstract"
qcode = "subj:01000000"

name = "Arts, Culture and Entertainment"
lang = "en"

name = "Arts, culture, et spectacles"
lang = "fr"

narrower
type = "cpnat:abstract"
qcode = "subj:01025000"

name = "Animation"
lang = "en"

name = "Dessin animé"
lang = "fr"

headline = "Loriot retrospective"

description = " Yesterday evening (November, 5) an exhibition opened in Berlin in honour of German humorist Vicco von Bülow, better known under the pseudonym "Loriot", to commemorate his 85th birthday. He was born November 12, 1923 in Brandenburg an der Havel and comes from an old German aristocratic family. He is most well-known for his cartoons, television sketches alongside late German actress Evelyn Hammann and a couple of movies. Under the name "Loriot" in 1971 he created a cartoon dog named "Wum", which he voice acted himself. In 1976 the first episode of the TV series "Loriot" was produced. "
role = "descrole:dopesheet"

br

description = " Berlin, 21/12/2008 "
role = "descrole:shotlist"

br

br

br

br

br

br

br

br

br

br

br

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part1_ID"
seq = "1"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-000.jpeg"

timeDelim
start = "0"
end = "446"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:VoiceOver"

description = "Vicco von Bülow entering exhibition "

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part2_ID"
seq = "2"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-447.jpeg"

timeDelim
start = "447"
end = "831"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:VoiceOver"

description = "Loriot and media "

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part3_ID"
seq = "3"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-832.jpeg"

timeDelim
start = "832"
end = "1081"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:Interlocution"

description = "Vicco von Bülow interview"

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part4_ID"
seq = "4"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-1082.jpeg"

timeDelim
start = "1082"
end = "1313"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:NaturalSound"

description = "Exhibition panorama "

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part5_ID"
seq = "5"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-1314.jpeg"

timeDelim
start = "1314"
end = "1616"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:Interlocution"

description = "Irm Herrmann, actress, interview"

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part6_ID"
seq = "6"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-1617.jpeg"

timeDelim
start = "1617"
end = "2109"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:VoiceOver"

description = "Ulrich Matthes, actor, in exhibition"

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part7_ID"
seq = "7"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-2110.jpeg"

timeDelim
start = "2110"
end = "2732"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:Interlocution"

description = "Ulrich Matthes, actor, interview"

Part Metadata (in a News Item) = a set of properties associated with a specific part of the content.

partMeta
partid = "Part8_ID"
seq = "8"

icon
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517- 407624/Keyframes/20081222-PNN-1517-407624-2733.jpeg"

timeDelim
start = "2733"
end = "2774"
timeunit = "timeunit:editUnit"

language
tag = "en"
role = "langusecode:VoiceOver"

description = ""I would say: one of the great German classics. Goethe, Kleist, Schiller, Thomas Mann, Loriot. That's the way I would say it.""

Content Set = a set of alternate renditions of the Item content

contentSet

remoteContent
href = "http://www.example.com/video/2008-12-22/20081222-PNN-1517-407624/20081222-PNN-1517-407624.avi"
format = "fmt:avi"
duration = "111"
durationunit = "timeunit:seconds"
videocodec = "vcdc:c008"
videoframerate = "25"
videoaspectratio = "16:9"