Outputting XML

  •  Trying to output XML useing sql query manager, and the output to file isnt true xml it outputs with html as well, is there anyway to get sql to output true xml without the html or is that just not the case ?!?.

     Also when i created a simple tempalte file to use with the query like so. .

     

    <?xml version="1.0" encoding="ISO-8859-1" ?>

     

    <USERS>

     <DETAILS>

      

      

    <user>

    <%begindetail%>  

    <state>

    <%insert_data_here%></state>

    <lname><%insert_data_here%></lname>

    <fname><%insert_data_here%></fname>

    <%enddetail%>

    </user>

    </DETAILS>

    </USERS>

     

    it dosnt seem to output correctly and looks all weird ..

     

    Can any 1 tell me where i am going wrong and what i can do to rectify it please....

  • select * from tbl for xml auto

    this will return an xml string

    refer to bol for more info


    Everything you can imagine is real.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply