SlideShare a Scribd company logo
Generating XML Schemas from a canonical model - a practical exampleGeorge McGeachieMetadata Matters LimitedEnterprise Data WorldChicagoApril 5th, 2010
The ‘C’ wordManaging XSDs using a master (canonical) XML schemaThe flexibility of PowerDesignerThe XML Schema Model in PowerDesignerWhich Canonical Model Should You Use?Factors To Be ConsideredGenerating XML Models in Power DesignerEnterprise Data World, Chicago, April 5th 20112
About MeI’ve been involved with modelling and managing data and metadata for longer than I care to remember.When I first came across XML Schemas, I was struck by their simplicity and versatility. When I saw how some people use them, I realised that the days of unmanaged COBOL copybooks had returned to haunt me.This is my attempt to exorcise the XML demon.Enterprise Data World, Chicago, April 5th 20113
The ‘C’ wordIt’s difficult to avoid the word ‘Canonical’ when discussing standard XML messagesTo some, the message schemas are the ‘canonical’To others, the underlying model is the ‘canonical’When I use the word, I mean both of themEnterprise Data World, Chicago, April 5th 20114
Managing XSDs using a master (canonical) XML schemaAn XML master schema must be hierarchicalIt cannot easily show all the complex relationships between the data conceptsIt cannot be flexible enough to support multiple views of the dataYou need to understand XML to create, edit or read the modelEnterprise Data World, Chicago, April 5th 20115
Managing XSDs using a master (canonical) XML schemaHow would we integrate the metadata represented by a schema with our other metadata?Reverse-engineer it into a repository or modelling tool?How would weEnsure consistency of XSDs with each other?Enable impact analysis?Manage the variations necessary between dependent schemas?Enterprise Data World, Chicago, April 5th 20116
The flexibility of PowerDesignerEnterprise Data World, Chicago, April 5th 20117PowerDesigner has a dedicated XML Schema ModelSeveral different approaches supported out of the boxGenerating XSDs from a class modelGenerating an XML Schema model from a class model or a physical data model, then generating XSDsReverse-engineering existing XML Schemas into a class model or XML Schema ModelCan then generate a logical or conceptual view
Generation options in PowerDesignerEnterprise Data World, Chicago, April 5th 20118
The XML Schema Model in PowerDesignerEnterprise Data World, Chicago, April 5th 20119This can link to an XML model, or an XSDReferencedElements (in another XSD)Complex TypeNote the XML-specific object types
XML-specific Model Objects10Enterprise Data World, Chicago, April 5th 2011Here’s the detail of one of the sequences in the schemaFilter the displayed propertiesAdd additional items to the sequence
The XML ModelDedicated to modelling XML Schema1 schema per XML model, traceable to source modelsMapping Editor – drag and drop mappings between modelsSupports XSD, XDR and DTDMultiple Namespaces supportedCan use 1 XML model for multiple schemas in the same target namespaceEnterprise Data World, Chicago, April 5th 201111
The flexibility of PowerDesignerLinkages are automatically maintained between models as you generate themAdditional mappings can be added between any two modelsThe generation process can be customisedYou have control over the naming standards and data types used in each modelImpact and Lineage analysis is enabled by the generation and mapping linksEnterprise Data World, Chicago, April 5th 201112
Generation LinksFor each model, you can trace links to other models in the generation sequenceEnterprise Data World, Chicago, April 5th 201113
Mapping EditorVisually check mappingsEnterprise Data World, Chicago, April 5th 201114
Impact of deleting XML Attribute - diagramEnterprise Data World, Chicago, April 5th 201115Dependencies between PDM tablesPDM Tables mapped to the ElementOur attributeXML ElementSimple Type (no longer required)Remember:  this diagram traces back to the model the XML attribute was generated from; in this case, the XML model was generated from a PDM, so the impact analysis traces to the PDM
Visible Links Between ModelsUsing the ‘project’ feature, we can see the links between modelsWe can also include external objects, and create our own links to themAn XSD and an HTML file in this caseEnterprise Data World, Chicago, April 5th 201116
Which canonical model?One (or more) that you can sell within your organisationStandard modelsStandard Universal Data Modelse.g. IBM, Teradata, Oracle, EWS Solutions, Len Silverston’s Universal Data ModelsIndustry Universal Data Modelse.g. standard messaging structures, such as from the OAGSee www.industrydatamodels.com Some organisations use several of these, which will need to be cross-referencedYour own model(s)possibly used to extend one of the aboveEnterprise Data World, Chicago, April 5th 201117
A simple example of a relational canonical modelEnterprise Data World, Chicago, April 5th 201118This is an amended version of the ‘Project Management’ PDM supplied with PowerDesigner
The ‘Team Members’ schemaEnterprise Data World, Chicago, April 5th 201119
The ‘Project’ schemaEnterprise Data World, Chicago, April 5th 201120
Factors To Be ConsideredGenerating a Type Library vs. generating SchemasPhysical Design ChallengesModel Management Challenges21Enterprise Data World, Chicago, April 5th 2011
Generating a type libraryoften straightforward to generateno structuremanual control of re-use in schemas"let the service people design the schemas"no impact analysis across schemasmay be the only acceptable first steplow impact on work patternsgains initial acceptance of the role of a canonical modelEnterprise Data World, Chicago, April 5th 201122
Generating Individual SchemasA 'container' for each schemaModel, Submodel, Subject Area, Package etcdefines scopeprovides documentationfacilitates governanceComplete generationNothing changed post-generationRequires high degree of control over generation processEnterprise Data World, Chicago, April 5th 201123
Generating Individual Schemasall types can be localno need to 'include' or 'import' a base schemathe 'standard' types are used to generate the schema, rather than being referred to by the schemaThe standard types are in the canonical data modelpotential for impact analysiscan choose when to update each individual schemaEnterprise Data World, Chicago, April 5th 201124
Sample Message SchemaThis was generated from the same data model as the type library; it only contains what the message actually needsEnterprise Data World, Chicago, April 5th 201125
Physical Design ChallengesSome of these challenges are similar to those we face when we use a single Logical Data Model for designing multiple database schemasDifferences between SchemasHandling Sub-types and inherited attributesDenormalising attributes and entitiesData Type and Name conversionsScalability of Process Automating & future-proofing the generation processEnterprise Data World, Chicago, April 5th 201126
Model Management ChallengesMultiple reference models require careful considerationE.g. Using OAG messaging standard as a reference model, extending it where requiredProvides a quick-start for defining schemasBe careful what you remove; perhaps remove nothingHow do you identify the parts that are actually in use?How do you know what extensions are needed?Have to map the standard to your own modelsEnterprise Data World, Chicago, April 5th 201127
Generating XML Models in PowerDesignerTwo optionsGenerate XML Model using default options, from selected tables, and tinker the XML afterwardsUse XML Builder to design and generate almost exactly what is required, and then tinker the XML model28Enterprise Data World, Chicago, April 5th 2011
Contact MeTelephone: +44 (0) 20 8123 8756 (forwarded to mobile)UK mobile: +44 (0) 794 293 0648Skype: gmcgeachieTwitter: metadatajunkieEmail:  George.McGeachie @ MetadataMatters.comBlog: http://metadatajunkie.wordpress.com/Enterprise Data World, Chicago, April 5th 201129

More Related Content

What's hot (20)

PDF
Using MLOps to Bring ML to Production/The Promise of MLOps
Weaveworks
 
PDF
Python Dependency Management - PyconDE 2018
Patrick Muehlbauer
 
PPTX
Introduction to snowflake
Sunil Gurav
 
PDF
Azure SQL Database
rockplace
 
PPTX
Integration with dynamics ax 2012
Ali Raza Zaidi
 
PPTX
Delta Lake with Azure Databricks
Dustin Vannoy
 
PPTX
Snowflake Automated Deployments / CI/CD Pipelines
Drew Hansen
 
PDF
Considerations for Data Access in the Lakehouse
Databricks
 
PPTX
Clean architecture
.NET Crowd
 
PPTX
Introduction to DAX
Ike Ellis
 
PDF
TechnicalTerraformLandingZones121120229238.pdf
MIlton788007
 
PPTX
DAX and Power BI Training - 002 DAX Level 1 - 3
Will Harvey
 
PDF
New Dynamics 365 Implementation Guide - Available for download
Dynamics Square
 
PDF
Vector Databases - A Technical Primer.pdf
Babajide Ogunjobi
 
PPTX
Introduction to Azure SQL DB
Christopher Foot
 
PPTX
Big Data and Data Warehousing Together with Azure Synapse Analytics (SQLBits ...
Michael Rys
 
PPTX
Power BI Overview
Gal Vekselman
 
PPTX
TECHTALK 20230228 ビジネスユーザー向け機械学習入門 第3回~機械学習のモデルの評価と検証
QlikPresalesJapan
 
PPTX
Streaming Real-time Data to Azure Data Lake Storage Gen 2
Carole Gunst
 
PPTX
TechEvent Databricks on Azure
Trivadis
 
Using MLOps to Bring ML to Production/The Promise of MLOps
Weaveworks
 
Python Dependency Management - PyconDE 2018
Patrick Muehlbauer
 
Introduction to snowflake
Sunil Gurav
 
Azure SQL Database
rockplace
 
Integration with dynamics ax 2012
Ali Raza Zaidi
 
Delta Lake with Azure Databricks
Dustin Vannoy
 
Snowflake Automated Deployments / CI/CD Pipelines
Drew Hansen
 
Considerations for Data Access in the Lakehouse
Databricks
 
Clean architecture
.NET Crowd
 
Introduction to DAX
Ike Ellis
 
TechnicalTerraformLandingZones121120229238.pdf
MIlton788007
 
DAX and Power BI Training - 002 DAX Level 1 - 3
Will Harvey
 
New Dynamics 365 Implementation Guide - Available for download
Dynamics Square
 
Vector Databases - A Technical Primer.pdf
Babajide Ogunjobi
 
Introduction to Azure SQL DB
Christopher Foot
 
Big Data and Data Warehousing Together with Azure Synapse Analytics (SQLBits ...
Michael Rys
 
Power BI Overview
Gal Vekselman
 
TECHTALK 20230228 ビジネスユーザー向け機械学習入門 第3回~機械学習のモデルの評価と検証
QlikPresalesJapan
 
Streaming Real-time Data to Azure Data Lake Storage Gen 2
Carole Gunst
 
TechEvent Databricks on Azure
Trivadis
 

Similar to Generating XML schemas from a Logical Data Model (EDW 2011) (20)

RTF
Top Three Data Modeling Tools Usability Comparsion
Erin
 
RTF
Top Three Data Modeling Tools Usability Comparsion
Erin
 
PPTX
Be a database professional
Sayed Ahmed
 
PPTX
Be a database professional
Sayed Ahmed
 
PPTX
Data modeling star schema
Sayed Ahmed
 
PDF
George McGeachie's Favourite PowerDesigner features
George McGeachie
 
DOC
Data modeling
Abdoulaye M Yansane
 
PDF
My cool new Slideshow!
rommel_gagasa
 
PDF
John Rhodes - CA Plex for CA 2E Shops
John Zozzaro
 
PDF
EMC Documentum xCP 2.0 Design Patterns
Haytham Ghandour
 
DOCX
Generation_XSD_Article.docx
David Harrison
 
PPT
Data Models at Eclipse
Kenn Hussey
 
DOCX
Data warehouse design from XML sourcesMatte0 Golfarelli Stef.docx
whittemorelucilla
 
DOCX
Data warehouse design from XML sourcesMatte0 Golfarelli Stef.docx
randyburney60861
 
PPTX
Presentazione jrc 24 ottobre
smespire
 
PDF
What can power designer do for me
George McGeachie
 
PDF
Eclipse plugin userguide
Khúc Vũ
 
PPTX
Logical ERD 2022.pptx
Jeff Jacobs
 
PPT
ERP_Up_Down.ppt
KalsoomTahir2
 
PPT
02010 ppt ch02
Alfred Agno
 
Top Three Data Modeling Tools Usability Comparsion
Erin
 
Top Three Data Modeling Tools Usability Comparsion
Erin
 
Be a database professional
Sayed Ahmed
 
Be a database professional
Sayed Ahmed
 
Data modeling star schema
Sayed Ahmed
 
George McGeachie's Favourite PowerDesigner features
George McGeachie
 
Data modeling
Abdoulaye M Yansane
 
My cool new Slideshow!
rommel_gagasa
 
John Rhodes - CA Plex for CA 2E Shops
John Zozzaro
 
EMC Documentum xCP 2.0 Design Patterns
Haytham Ghandour
 
Generation_XSD_Article.docx
David Harrison
 
Data Models at Eclipse
Kenn Hussey
 
Data warehouse design from XML sourcesMatte0 Golfarelli Stef.docx
whittemorelucilla
 
Data warehouse design from XML sourcesMatte0 Golfarelli Stef.docx
randyburney60861
 
Presentazione jrc 24 ottobre
smespire
 
What can power designer do for me
George McGeachie
 
Eclipse plugin userguide
Khúc Vũ
 
Logical ERD 2022.pptx
Jeff Jacobs
 
ERP_Up_Down.ppt
KalsoomTahir2
 
02010 ppt ch02
Alfred Agno
 
Ad

Recently uploaded (20)

PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Biography of Daniel Podor.pdf
Daniel Podor
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Ad

Generating XML schemas from a Logical Data Model (EDW 2011)

  • 1. Generating XML Schemas from a canonical model - a practical exampleGeorge McGeachieMetadata Matters LimitedEnterprise Data WorldChicagoApril 5th, 2010
  • 2. The ‘C’ wordManaging XSDs using a master (canonical) XML schemaThe flexibility of PowerDesignerThe XML Schema Model in PowerDesignerWhich Canonical Model Should You Use?Factors To Be ConsideredGenerating XML Models in Power DesignerEnterprise Data World, Chicago, April 5th 20112
  • 3. About MeI’ve been involved with modelling and managing data and metadata for longer than I care to remember.When I first came across XML Schemas, I was struck by their simplicity and versatility. When I saw how some people use them, I realised that the days of unmanaged COBOL copybooks had returned to haunt me.This is my attempt to exorcise the XML demon.Enterprise Data World, Chicago, April 5th 20113
  • 4. The ‘C’ wordIt’s difficult to avoid the word ‘Canonical’ when discussing standard XML messagesTo some, the message schemas are the ‘canonical’To others, the underlying model is the ‘canonical’When I use the word, I mean both of themEnterprise Data World, Chicago, April 5th 20114
  • 5. Managing XSDs using a master (canonical) XML schemaAn XML master schema must be hierarchicalIt cannot easily show all the complex relationships between the data conceptsIt cannot be flexible enough to support multiple views of the dataYou need to understand XML to create, edit or read the modelEnterprise Data World, Chicago, April 5th 20115
  • 6. Managing XSDs using a master (canonical) XML schemaHow would we integrate the metadata represented by a schema with our other metadata?Reverse-engineer it into a repository or modelling tool?How would weEnsure consistency of XSDs with each other?Enable impact analysis?Manage the variations necessary between dependent schemas?Enterprise Data World, Chicago, April 5th 20116
  • 7. The flexibility of PowerDesignerEnterprise Data World, Chicago, April 5th 20117PowerDesigner has a dedicated XML Schema ModelSeveral different approaches supported out of the boxGenerating XSDs from a class modelGenerating an XML Schema model from a class model or a physical data model, then generating XSDsReverse-engineering existing XML Schemas into a class model or XML Schema ModelCan then generate a logical or conceptual view
  • 8. Generation options in PowerDesignerEnterprise Data World, Chicago, April 5th 20118
  • 9. The XML Schema Model in PowerDesignerEnterprise Data World, Chicago, April 5th 20119This can link to an XML model, or an XSDReferencedElements (in another XSD)Complex TypeNote the XML-specific object types
  • 10. XML-specific Model Objects10Enterprise Data World, Chicago, April 5th 2011Here’s the detail of one of the sequences in the schemaFilter the displayed propertiesAdd additional items to the sequence
  • 11. The XML ModelDedicated to modelling XML Schema1 schema per XML model, traceable to source modelsMapping Editor – drag and drop mappings between modelsSupports XSD, XDR and DTDMultiple Namespaces supportedCan use 1 XML model for multiple schemas in the same target namespaceEnterprise Data World, Chicago, April 5th 201111
  • 12. The flexibility of PowerDesignerLinkages are automatically maintained between models as you generate themAdditional mappings can be added between any two modelsThe generation process can be customisedYou have control over the naming standards and data types used in each modelImpact and Lineage analysis is enabled by the generation and mapping linksEnterprise Data World, Chicago, April 5th 201112
  • 13. Generation LinksFor each model, you can trace links to other models in the generation sequenceEnterprise Data World, Chicago, April 5th 201113
  • 14. Mapping EditorVisually check mappingsEnterprise Data World, Chicago, April 5th 201114
  • 15. Impact of deleting XML Attribute - diagramEnterprise Data World, Chicago, April 5th 201115Dependencies between PDM tablesPDM Tables mapped to the ElementOur attributeXML ElementSimple Type (no longer required)Remember: this diagram traces back to the model the XML attribute was generated from; in this case, the XML model was generated from a PDM, so the impact analysis traces to the PDM
  • 16. Visible Links Between ModelsUsing the ‘project’ feature, we can see the links between modelsWe can also include external objects, and create our own links to themAn XSD and an HTML file in this caseEnterprise Data World, Chicago, April 5th 201116
  • 17. Which canonical model?One (or more) that you can sell within your organisationStandard modelsStandard Universal Data Modelse.g. IBM, Teradata, Oracle, EWS Solutions, Len Silverston’s Universal Data ModelsIndustry Universal Data Modelse.g. standard messaging structures, such as from the OAGSee www.industrydatamodels.com Some organisations use several of these, which will need to be cross-referencedYour own model(s)possibly used to extend one of the aboveEnterprise Data World, Chicago, April 5th 201117
  • 18. A simple example of a relational canonical modelEnterprise Data World, Chicago, April 5th 201118This is an amended version of the ‘Project Management’ PDM supplied with PowerDesigner
  • 19. The ‘Team Members’ schemaEnterprise Data World, Chicago, April 5th 201119
  • 20. The ‘Project’ schemaEnterprise Data World, Chicago, April 5th 201120
  • 21. Factors To Be ConsideredGenerating a Type Library vs. generating SchemasPhysical Design ChallengesModel Management Challenges21Enterprise Data World, Chicago, April 5th 2011
  • 22. Generating a type libraryoften straightforward to generateno structuremanual control of re-use in schemas"let the service people design the schemas"no impact analysis across schemasmay be the only acceptable first steplow impact on work patternsgains initial acceptance of the role of a canonical modelEnterprise Data World, Chicago, April 5th 201122
  • 23. Generating Individual SchemasA 'container' for each schemaModel, Submodel, Subject Area, Package etcdefines scopeprovides documentationfacilitates governanceComplete generationNothing changed post-generationRequires high degree of control over generation processEnterprise Data World, Chicago, April 5th 201123
  • 24. Generating Individual Schemasall types can be localno need to 'include' or 'import' a base schemathe 'standard' types are used to generate the schema, rather than being referred to by the schemaThe standard types are in the canonical data modelpotential for impact analysiscan choose when to update each individual schemaEnterprise Data World, Chicago, April 5th 201124
  • 25. Sample Message SchemaThis was generated from the same data model as the type library; it only contains what the message actually needsEnterprise Data World, Chicago, April 5th 201125
  • 26. Physical Design ChallengesSome of these challenges are similar to those we face when we use a single Logical Data Model for designing multiple database schemasDifferences between SchemasHandling Sub-types and inherited attributesDenormalising attributes and entitiesData Type and Name conversionsScalability of Process Automating & future-proofing the generation processEnterprise Data World, Chicago, April 5th 201126
  • 27. Model Management ChallengesMultiple reference models require careful considerationE.g. Using OAG messaging standard as a reference model, extending it where requiredProvides a quick-start for defining schemasBe careful what you remove; perhaps remove nothingHow do you identify the parts that are actually in use?How do you know what extensions are needed?Have to map the standard to your own modelsEnterprise Data World, Chicago, April 5th 201127
  • 28. Generating XML Models in PowerDesignerTwo optionsGenerate XML Model using default options, from selected tables, and tinker the XML afterwardsUse XML Builder to design and generate almost exactly what is required, and then tinker the XML model28Enterprise Data World, Chicago, April 5th 2011
  • 29. Contact MeTelephone: +44 (0) 20 8123 8756 (forwarded to mobile)UK mobile: +44 (0) 794 293 0648Skype: gmcgeachieTwitter: metadatajunkieEmail: George.McGeachie @ MetadataMatters.comBlog: http://metadatajunkie.wordpress.com/Enterprise Data World, Chicago, April 5th 201129

Editor's Notes

  • #4: I’m a modeller at heart, not an XML Guru, and not a developer.
  • #5: Why use a canonical data model?In this presentation, I assume that the use of a canonical model is a given; we all see the need to manage our understanding and metadataSee Designing Canonicals for SOA: Bridging ER and XML Worlds Mehmet Orun & Jeff Pekrul, Genentechhttp://sfdama.org/Presentations/2007-02-07_Canonical_for_SOA_%20ER_XML.pdf
  • #6: It’s possible to manage the content of XML Schemas by using a single master (canonical) XML Schema, which defines all the allowed types. The hierarchical nature of an XML Schema makes it impossible for a master schema to do any more than specify the possible building blocks for schemas; it cannot govern the ways in which those building blocks are assembled. A canonical data model managed as an XSD can only be a type library; it cannot possibly control the ways in which the types can be assembledMany of the challenges (see later) we face when generating XSDs also apply to an XML Master Schema
  • #7: A stand-alone canonical XML schema is an island of metadata, providing no impact and lineage analysis capabilities
  • #8: The dedicated XML model in PowerDesigner enables us to manage XML schema designs in an integrated manner; have a look at the options in the next slide
  • #9: You can see how the XML Schema Model forms an integral part of the PowerDesigner model management philosophy.This slide only shows the ‘downward’ generation options; it also possible for a model to generate another model of the same type, or another model of a ‘higher’ type. E.g. a PDM can be generated from an XSM.
  • #10: This is an OAGi XML Schema, reverse-engineered into PowerDesigner. The only change I’ve made is to move some symbols closer to each other. This schema inherits all the simple types from other schemas, which is why there aren’t any here.
  • #20: The arrows show the navigation path through the model required to create the schema; note that some relationships are traversed from parent to child, others from child to parent. Also note that no attributes are extracted from the ‘Team Member’ entity; we use it as a route to the details of the Employee. The grey parts of the model are not used in this schema.
  • #21: A more complex schemaThe arrows show the navigation path through the model required to create the schema; note that some relationships are traversed from parent to child, others from child to parent. Also note that no attributes are extracted from the ‘Team Member’ entity; we use it as a route to the details of the Employee.
  • #27: Differences between SchemasAttribute and relationship optionality and cardinalityExcluding attributesFewer or more enumerationsDenormalising attributes and entitiesAttributes may appear in >1 element1 element may include attributes from multiple entitiesScalability of Process We can handle 5 XSDs, but what about 500 XSDs?
  • #29: From PDM