9 Replies Latest reply on Apr 5, 2016 10:54 AM by petery009

    Export XML with StyleSheet ?

    petery009

      Hi All

       

      I have a simple file that has a simple structure like PLAN has many TASK.

      What i expected xml export is like this:

       

      <PLAN>

         <PLAN TITLE>Plan A</PLAN TITLE>

         <TASK>

              <TASK NUMBER>1</TASK NUMBER>

          </TASK>

         <TASK>

              <TASK NUMBER>2</TASK NUMBER>

          </TASK>

      </PLAN>

       

      Filemaker Exported XML looks like this:

      ................

      ................

      <RESULTSETSET FOUND="1">

         <ROW MODID="0" RECORDID="1">

              <COL>

                       <DATA>Plan A</DATA>

              </COL>

              <COL>

                        <DATA>1</DATA>

                        <DATA>2</DATA>

               </COL>

          </ROW>

      </RESULTSET>

      ..................

       

      How should i get my expected xml from filemaker xml using stylesheet ? and how to write a stylesheet if possible?

       

      Or any other idea?

       

      Thanks.

       

      --Peter