Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: new to xml

  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts

    new to xml

    Hi,

    Please can someone help me out? I have been trying some we code snippets on xml, but the WebPages don't display correctly. am using ie 5.5.
    Kind regards,
    Mike Hughes

  • #2
    New Coder
    Join Date
    Nov 2002
    Location
    London, UK
    Posts
    88
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Can you post some code examples ?

    Adam

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <note>
    <to>Tove</to>
    <from>Jani</from>
    <heading>Reminder</heading>
    <body>Don't forget me this weekend!</body>
    </note>


    It just displays the code,
    Kind regards,
    Mike Hughes

  • #4
    New Coder
    Join Date
    Nov 2002
    Location
    London, UK
    Posts
    88
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    That is the intended result of accessing a raw .xml page in IE. It will use its internal stylesheet to add some colour coding etc.

    If you want you xml to be transformed into a web page i would suggest reading up on XSL.

    http://www.xslt.com
    http://www.xmlfiles.com/xsl/
    http://www.w3schools.com/xsl/default.asp

    The above links might help.

    Adam.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •