1 / 16

XML, Xpath and XSLT

XML, Xpath and XSLT. Greg Alvord Senior Data Architect, RealEC David Krause AVP, Radian Guaranty June 4, 2012. Agenda. Overview Xpath XSLT Real World Scenarios Background on system layout Routing rules Translation between two defined formats Avoid system customization

amal
Download Presentation

XML, Xpath and XSLT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XML, Xpath and XSLT Greg Alvord Senior Data Architect, RealEC David Krause AVP, Radian Guaranty June 4, 2012

  2. Agenda • Overview • Xpath • XSLT • Real World Scenarios • Background on system layout • Routing rules • Translation between two defined formats • Avoid system customization • Prevent semantic loss

  3. Overview • Xpath • Syntax for defining individual pieces of an XML document using path-based expressions • Allows for navigating through XML document and applying collection of built-in functions

  4. Overview • XSLT • EXtensible Stylesheet Language Transformation • XSLT is used to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML • Can add/remove elements and attributes to/from the appropriate output file • Sort • Perform calculations/logic • XML navigation based on XPath

  5. Message Routing for Generic Endpoints • Generic endpoint for all Origination transactions • Rely on either message level or payload level information to route accordingly

  6. Message Routing for Generic Endpoints

  7. Translation Between Formats • Convert external standard format to internal to be consumed by downstream application • Logic can be simple 1-to-1 mapping OR more complex If…Then or Choice logic

  8. Translation Between Formats

  9. Translation Between Formats

  10. Avoid Application Customization • Often times a trading partner will not adhere to all integration requirements • Ideal to isolate these “one-offs” • Prevent from leaking into the base application • Execute a pre-process translation to clean up the XML

  11. Avoid Application Customization

  12. Avoid Losing Message Granularity/Relevance • Internal organization requirements vs. trading partner requirement may result in conflict • Similar to avoiding application customization, can place translation right before message leaves network

  13. Avoid Losing Message Granularity/Relevance

  14. Questions? Greg Alvord Senior Data Architect RealEC Technologies gregory.alvord@RealEC.com David Krause AVP Client Services Radian Guaranty, Inc david.krause@radian.biz

More Related