messages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marsha Allen

    messages

    I have an XSL stylesheet that needs to do some error checking. For
    example, I am checking to see if the results of a division does or
    doesn't have a remainder. I can put ERROR lines in the output text file,
    but I think <xsl:message> may be a better choice. When I process the xml
    file with the stylesheet in Netscape, the messages show up in the
    Javascript console. However, when I use the AltovaXSLT command line
    processor, no messages show up. Does anyone know where the messages go,
    or do they just disappear?

    Thanks,

    Marsha Allen
  • Marsha Allen

    #2
    Re: messages

    In article <mallen-3A1F7B.10101528 042005@tomm.sts ci.edu>,
    Marsha Allen <mallen@stsci.e du> wrote:
    [color=blue]
    > I have an XSL stylesheet that needs to do some error checking. For
    > example, I am checking to see if the results of a division does or
    > doesn't have a remainder. I can put ERROR lines in the output text file,
    > but I think <xsl:message> may be a better choice. When I process the xml
    > file with the stylesheet in Netscape, the messages show up in the
    > Javascript console. However, when I use the AltovaXSLT command line
    > processor, no messages show up. Does anyone know where the messages go,
    > or do they just disappear?
    >
    > Thanks,
    >
    > Marsha Allen[/color]

    I forgot to mention that I am doing this processing on a PC running
    Windows.

    MMA

    Comment

    • maalej

      #3
      Re: messages

      try it with xalan
      its works with xalan.


      Maalej

      Marsha Allen schrieb:[color=blue]
      > In article <mallen-3A1F7B.10101528 042005@tomm.sts ci.edu>,
      > Marsha Allen <mallen@stsci.e du> wrote:
      >
      >[color=green]
      >>I have an XSL stylesheet that needs to do some error checking. For
      >>example, I am checking to see if the results of a division does or
      >>doesn't have a remainder. I can put ERROR lines in the output text file,
      >>but I think <xsl:message> may be a better choice. When I process the xml
      >>file with the stylesheet in Netscape, the messages show up in the
      >>Javascript console. However, when I use the AltovaXSLT command line
      >>processor, no messages show up. Does anyone know where the messages go,
      >>or do they just disappear?
      >>
      >>Thanks,
      >>
      >>Marsha Allen[/color]
      >
      >
      > I forgot to mention that I am doing this processing on a PC running
      > Windows.
      >
      > MMA[/color]

      Comment

      • David Carlisle

        #4
        Re: messages


        in IE msxml only supports <xsl:message terminate="yes" > in which case it
        stops with an alert box. Other xsl:message elemenst are silently
        ignored.

        It maybe that AltovaXSLT is the same. the conformance requirements for
        xsl:message are quite light, not reporting the message is an allowed
        outcome.

        David

        Comment

        Working...