Presentation is loading. Please wait.

Presentation is loading. Please wait.

GenX- XML Mapping of GenCAM Andy Dugenske Andy Scholand Manufacturing Research Center Georgia Institute of Technology January 23, 1999.

Similar presentations


Presentation on theme: "GenX- XML Mapping of GenCAM Andy Dugenske Andy Scholand Manufacturing Research Center Georgia Institute of Technology January 23, 1999."— Presentation transcript:

1 GenX- XML Mapping of GenCAM Andy Dugenske Andy Scholand Manufacturing Research Center Georgia Institute of Technology January 23, 1999

2 Agenda 4 Introduction to Ga Tech Folks 4 XML Background 4 GenX Introduction 4 GenX Examples and Demos 4 Future Steps

3 Georgia Tech GenX Team n Work initiated by the Engineering Information Systems Lab in July 1998 n Further developed with NIST funding as part of the Internet Commerce in Manufacturing Project n Currently headed by Andy Dugenske

4 XML Background n eXtensible Markup Language n A text-based, data description meta language –Design your own markup language n A streamlined subset of SGML n Designed for use on the Internet A W3C Technical Recommendation (February 10, 1998) A W3C Technical Recommendation (February 10, 1998)

5 XML Benefits n Supported by all major vendors, including Microsoft, IBM, Netscape, Sun n Easy Client-side manipulation –Designed to be easy to parse –26K of Java code (Aelfred) –5K of JavaScript n Free XML parsers available, even for commercial use

6 What is an XML Document? n A Valid XML document is made up of two parts: –Document Type Definition (DTD) –Tags and Content n NOTE: The DTD can be referenced by a URL –Saves about 52K per document in GenX DTD (Release 0.1h, 1/20/99)

7 What is a DTD? n A formal definition that: –Defines a specific set of tags and their relationships to one another –Specifies attributes and default values within tags –Specifies tag structure n Controls the manipulation of data –Requires everyone to use the same set of tags the same way

8 XML Mapping of GenCAM n XML is used to create markup language (GenX) n The defined language describes content and structure of a document n Three DTDs are needed: –Initial Assembly File –Change File –Complete File

9 GenX Benefits n Central maintenance of the DTD –http://www.gencam.org n Syntax checking effortlessly –No new code needed to check a new data structure or set of tags –Important in a dynamic industry n Semantic checking can be coded against XML API –SAX or DOM

10 GenX Benefits n Collaborative engineering- DTD allows legal “patches” n Searching is potentially much more customizable and accurate n High Degree of readability –Essentially, name tags for all parameters –Supported in browsers natively (IE5-demo) –Customizable views (reports) possible using XSL

11 GenX Benefits n Synergy with other XML standards/emerging activities –EDI/e-commerce –NEMI – –Pinnacles Component Information Standard (SGML) n Jumping on the XML Hype train!

12 GenX Costs n File size will increase –Hopefully hold to a minimum with good design choices n Some additional qualifiers have to be added to GenCAM keywords –For example, adding _NAMED to CIRCLE keyword when referencing the named form of the CIRCLE primitive n Not all syntactic restrictions enforced

13 GenX DTD- Example Section <!ELEMENT HEADER (ASSEMBLY_DEF+,BOARD_DEF+ <!ATTLIST HEADER GENX_VERSION CDATA #REQUIRED GENX_VERSION CDATA #REQUIRED CHARACTERSET CDATA #IMPLIED CHARACTERSET CDATA #IMPLIED GENERATEDBY_SOFTWARE CDATA #IMPLIED GENERATEDBY_SOFTWARE CDATA #IMPLIED GENERATEDBY_SOFTWARE_VERSION CDATA GENERATEDBY_SOFTWARE_VERSION CDATA DIMENSION (MM|UM|MM100|USERCM|USERMM|USE DIMENSION (MM|UM|MM100|USERCM|USERMM|USE GRID_VALUE CDATA #IMPLIED GRID_VALUE CDATA #IMPLIED ANGLEUNITS (RADIANS|DEGREES) #REQUIRED ANGLEUNITS (RADIANS|DEGREES) #REQUIRED HISTORY CDATA #REQUIRED> HISTORY CDATA #REQUIRED>

14 GenX Document- Example <HEADER GENX_VERSION=”0.1.h" GENX_VERSION=”0.1.h" GENERATEDBY_SOFTWARE=”GTXML" GENERATEDBY_SOFTWARE=”GTXML" GENERATEDBY_SOFTWARE_VERSION=”AJS" GENERATEDBY_SOFTWARE_VERSION=”AJS" DIMENSION="THOU" GRID_VALUE="50" DIMENSION="THOU" GRID_VALUE="50" ANGLEUNITS="DEGREES" HISTORY="1" > ANGLEUNITS="DEGREES" HISTORY="1" > <ASSEMBLY_DEF <ASSEMBLY_DEF USEDIN_NAME=”C100" USEDIN_NAME=”C100" NAME=”Modem C100 mrboard" NAME=”Modem C100 mrboard" NUMBER=”11149-14811" NUMBER=”11149-14811" REVISION=”Rev 566g 20" /> REVISION=”Rev 566g 20" />

15 Viewing GenX in A Browser

16 Viewing GenX with XSL

17 GenX and Analysis

18 DIY GenX Examples n The files shown previously are all available from: http://eislab.gatech.edu/projects/genx/ and select “Intranet” link NOTE: You need to be running IE5 beta (www.microsoft.com/windows/ie/ie5/)

19 Future Steps- R&D??? Design Objectives ImplementationVariations

20 Future Steps n Or, adopt a “Microsoft Approach” –Go for market/mind share –Make small bug fixes later –Minimize developer investment in limited upgrade ASCII format


Download ppt "GenX- XML Mapping of GenCAM Andy Dugenske Andy Scholand Manufacturing Research Center Georgia Institute of Technology January 23, 1999."

Similar presentations


Ads by Google