Recent content by subby

  1. S

    XSL style sheet with sax-writer

    The problem is solved :). I had to put the code after start-document. and added hSAXWriter:strict = false. CREATE SAX-WRITER hSAXWriter. hSAXWriter:FORMATTED = TRUE. hSAXWriter:ENCODING = "UTF-8". hSAXWriter:strict = false. lOK = hSAXWriter:SET-OUTPUT-DESTINATION("file", "wo-test.xml"). lOK...
  2. S

    XSL style sheet with sax-writer

    I have added the line to the bottom of the script: lOK = hSAXWriter:END-ELEMENT("ProductionPlan"). hSAXWriter:write-processing-instruction("xml-stylesheet", 'type="text/xsl" href="wo.xsl"'). lOK = hSAXWriter:END-DOCUMENT(). Then it writes the stylesheet. But it enters it at the bottom of the...
  3. S

    XSL style sheet with sax-writer

    How do you check the WRITE-STATUS?
  4. S

    XSL style sheet with sax-writer

    to bad also with double quotus it gives the same error-message. Looks like i have to open the write status. WRITE-PROCESSING-INSTRUCTION method invalid while WRITE-STATUS is WRITE-IDLE. (14609)
  5. S

    XSL style sheet with sax-writer

    no also with the single quotus: WRITE-PROCESSING-INSTRUCTION method invalid while WRITE-STATUS is WRITE-IDLE. (14609)
  6. S

    XSL style sheet with sax-writer

    Yes i have tried it. But nothing helps.
  7. S

    XSL style sheet with sax-writer

    No one can help me?
  8. S

    XSL style sheet with sax-writer

    Hi There, I have created a query that generates an XML file. But i also want to reference to a style sheet. I found in the forunm over here that i have to add this: hSAXWriter:write-processing-instruction("xml-stylesheet", "type=""text/xsl"" href=""wo.xsl"""). but when i run it. i receive...
Top