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 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2002
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts

    browsing for an image file and store it in the xml file ??

    hi all, what i mean is to get an image from a file field and write the image to the xml file without hardcoding it in the xml file initially.... how to do that?
    eg. its juz like browsing for an image file and store it in the xml file and i will like to display the img according to different xsl stylesheets...

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Newcastle, England
    Posts
    178
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can't store an image in an XML file. XML files are text. All you can do is make a link in the XML file to an image stored elsewhere and then use XSL or CSS to display it.

    patrick

  • #3
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    Double-posted and CLOSED:
    Need Help in writing img files to xml !!!

    Please do not post the same question twice. It confuses people trying to help you and annoys moderators (like me).

    On a side note, this particular forum is very very small, so I read every message that comes through here.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog


  •  

    Posting Permissions

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