Announcement

Collapse
No announcement yet.

Using E4X FAQ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using E4X FAQ

    Mirth uses Javascript with E4X internally for Filtering and Transformation. This FAQ: http://www.faqts.com/knowledge_base/...phtml/fid/1762 is great for figuring out the E4X and Javascript syntax to transform messages inside of Mirth.

    -Chris
    Chris Lang

  • #2
    Re: Using E4X FAQ

    Is E4X available to the javascript engine in the preprocessing section? If so, I can't get it to work.

    Comment


    • #3
      Re: Using E4X FAQ

      Yes E4X is available throughout the Javascript in Mirth. What code are you having trouble with?

      -Chris
      Chris Lang

      Comment


      • #4
        Re: Using E4X FAQ

        I'm looking into using E4X to preprocess an XML and convert it to HL7. I've been looking at the Ecma PDF spec and trying to access the XMLList or XML objects in the preprocess javascript window. How do I access these correctly?

        Update
        (I am able to do this now. My earlier message was a little premature. Any documentation or other help on interally available Mirth methods and properties would be extremely helpful. )

        Comment


        • #5
          Re: Using E4X FAQ

          The spec can be downloaded from here:

          http://www.ecma-international.org/pu...s/Ecma-357.htm

          Comment

          Working...
          X