TCL CODE HELP – XML –>HL7

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TCL CODE HELP – XML –>HL7

  • Creator
    Topic
  • #49758
    Femina Jaffer
    Participant

      Hello.

      Could anyone guide me on the right track on how to read in an xml file and convert to hl7 using tcl?  I am stuck on the parsing piece of this.

      I know I need to take the header and put it in a globar; iterate over the element until the end of it and CONTINUE;

      Here is a sample record:

      Thank you.

      fj

    Viewing 2 reply threads
    • Author
      Replies
      • #63459
        Femina Jaffer
        Participant

          Anyone?

        • #63460
          Charlie Bursell
          Participant

            If you are to do in in Xlate you will need a schema or DTD.  If youwant to do it in Tcl here is an example proc I use in my classes that illustrates parsing XML using regular expressions

            I hope it helps

          • #63461
            Femina Jaffer
            Participant

              Thank you Charlie, I will use this as a guide.

              Femina

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.