Generating formatted text file

Home Page Forums BizTalk 2004 – BizTalk 2010 Generating formatted text file

Viewing 1 reply thread
  • Author
    Posts
    • #17725

      Hi,

       

      Can anyone tell me if there is a way to apply formatting to a text file that is written out to a disk using a send pipeline with the flat file assembler (without writing custom components)?

       

      I have a schema that looks like:

       

        <?xml version="1.0" encoding="utf-16" ?>

      <xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://WriteFormatedFileSchema" targetNamespace="http://WriteFormatedFileSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">

      <xs:element name="Root">

      <xs:complexType>

      <xs:sequence>

      <xs:element name="ParamLine1">

      <xs:complexType>

      <xs:sequence>

        <xs:element name="ParamLine1Item1" type="xs:string" />

        <xs:element name="ParamLine1Item2" type="xs:string" />

        </xs:sequence>

        </xs:complexType>

        </xs:element>

      <xs:element name="ParamLine2">

      <xs:complexType>

      <xs:sequence>

        <xs:element name="ParamLine2Item1" type="xs:string" />

        </xs:sequence>

        </xs:complexType>

        </xs:element>

      <xs:element name="ParamLine3">

      <xs:complexType>

      <xs:sequence>

        <xs:element name="ParamLine3Item1" type="xs:string" />

        <xs:element name="ParamLine3Item2" type="xs:string" />

        <xs:element name="ParamLine3Item3" type="xs:string" />

        </xs:sequence>

        </xs:complexType>

        </xs:element>

        </xs:sequence>

        </xs:complexType>

        </xs:element>

        </xs:schema>

       

      For this particular file I need everything under the ParamLine1 node in one line.  The next line of text should contain everything under ParamLine2, etc.

       

      I do appreciate any suggestions on this matter.

       

      – Tomas

    • #17736

      I must have been brain-dead at the moment.  Solved this by simply taking a formatted text file and generated a schema for it using the wonderful wizard.

      – Tomas

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.