Generative AI for Technical Writer or Information Developers
HR Employee Data
1.
2. <?xml version=„1.0‟ encoding=“UTF-8”?>
<!-- Human Resource data-->
<HumanResource>
<!-- Information for a person-->
<Person id=„1‟ slary=“500”>
<FirstName>John</FirstName>
<MidName></MidName>
<LastName>Doe</LastName>
<Position>Manager</Position>
</Person>
</HumanResource>
Document Type
10. <schema
targetNamespace=“URI”
attributeFormDefault=“qualified or unqualified”
elementFormDefault=“qualified or unqualified”
version=“version number”>
</schema>
<schema xmlns=”http://www.w3.org/2001/XMLSchema”>
<xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema”>
<xsd:schema xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
11. <element
name=”name of the element”
type=”global type”
ref=”global element declaration”
form=”qualified or unqualified”
minOccurs=”non negative number”
maxOccurs=”non negative number or „unbounded‟”
default=”default value”
fixed=”fixed value”>
12. <element
name=”name of the element”
type=”global type”
ref=”global element declaration”
form=”qualified or unqualified”
minOccurs=”non negative number”
maxOccurs=”non negative number or „unbounded‟”
default=”default value”
fixed=”fixed value”>
20. Facet Description
minExclusive Allows you to specify the minimum value for your type that excludes the value you specify
minInclusive Allows you to specify the minimum value for your type that includes the value you specify
maxExclusive Allows you to specify the maximum value for your type that excludes the value you specify
maxInclusive Allows you to specify the maximum value for your type that includes the value you specify
totalDigits Allows you to specify the total number of digits in a numeric type
fractionDigits Allows you to specify the number of fractional digits in a numeric type
length Allows you to specify the number of items in a list type or the number of characters in a string type
minLength Allows you to specify the minimum number of items in a list type or the minimum number of
characters in a string type
maxLength Allows you to specify the maximum number of items in a list type or the maximum number of
characters in a string type
enumeration Allows you to specify an allowable value in an enumerated list
whitespace Allows you to specify how whitespace should be treated within the type
pattern Allows you to restrict string types using regular expressions
24. <list
itemType=”name of simpleType used for validating items in the list”>
<simpleType name=”phoneListType”>
<list itemType=”exam:phoneType”/>
</simpleType>
25. <union
memberTypes=”whitespace separated list of types”>
40. <attribute
name=”name of the attribute”
type=”global type”
ref=”global attribute declaration”
form=”qualified or unqualified”
use=”optional or prohibited or required”
default=”default value”
fixed=”fixed value”>
41. <attribute name=”title”>
<simpleType>
<!-- type information -->
</simpleType>
</attribute>
<attribute name=”title” type=”string”/>
42. <attributeGroup name=”ContactsAttributes”>
<!-- attribute declarations go here -->
</attributeGroup>
attributGroups may not recursively refer to themselves
<attributeGroup name=”AttGroup1”>
<attributeGroup ref=”target:AttGroup1”/>
</attributeGroup >
<attributeGroup name=”AttGroup1”>
<attributeGroup ref=”target:AttGroup2”/>
</attributeGroup >
<attributeGroup name=”AttGroup2”>
<attributeGroup ref=”target:AttGroup1”/>
</attributeGroup >