LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to have empty DocumentHeader and DocumentFooter in Output XML

    Employee
    Posted 01-07-2015 20:40

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Patman

    Hi

    I am using the Output XML. I don't want any value in my DocumentHeader and DocumentFooter but everytime I delete the values there, the default values "<?xml version="1.0" encoding="ISO-8859-1"?><BRAINDocument>" and "</BRAINDocument>" always reappear. Please help. Thanks!


  • 2.  RE: How to have empty DocumentHeader and DocumentFooter in Output XML

    Employee
    Posted 01-07-2015 20:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    Try it with {{^^}}


  • 3.  RE: How to have empty DocumentHeader and DocumentFooter in Output XML

    Employee
    Posted 01-08-2015 18:42

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Patman

    It's not working. It's saying: ERROR Accessing undefined property: ls.brain.node.outXml.documentHeader

    Using an empty string parameter is no use also because it considers it as an undefined parameter.

    Thanks!


  • 4.  RE: How to have empty DocumentHeader and DocumentFooter in Output XML

    Employee
    Posted 01-09-2015 09:06

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ejones

    Then you will have to find some header and footer for the file that will work. Every idea I've been thinking of defines it as a space and a space won't work for the same reasons you've shown above. Can you make the start and end record comment lines and put some comment there instead of nothing?

    I believe you've found a limitation of this node and I personally agree that this should be improved in a new version. The challenge there is that you are attempting to use the Output XML node to create a file that is not actually an XML document. According to the definition an XML document must have a start tag and an end tag for the whole document. I'd personally like to see this rule in the official definition of an XML document relaxed.

    Maybe if you told us more about what you are needing we might find another solution and also might provide more reasons to relax that rule on this node. Have you tried to use any of the other output nodes like the Output Delimited or Output Fixed nodes? And what stops them from working for you?