Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    67
    Member #
    13752
    Hi.

    I have been presented with a problem only i havent got a clue about xml/xsl.

    Goto
    http://www.propertylinks.biz/blank1.html
    A click the "click here" link.

    The pop-up page should display a list including photos next to where it says "photo", only as you can see it doesnt.


    HTML Code:
    <property>ALMAR 92R4</property>
            <photo>PHOTOALMAR 92R4</photo>
            <photo2>PHOTOALMAR 92R43</photo2>
            <photo3>PHOTOALMAR 92R43</photo3>
    Should there be a reference to an image between the "photo"
    tags? i.e images/pic1.jpg

    Also i had a look at the xsl page...
    http://www.propertylinks.biz/properties.xsl

    I cannot really make head or tail of it.
    Can someone please have a look and see if they can spot anything
    that might be wrong?

    Thanks.




  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    Interesting that in the very first entry there actually is a valid photo:
    http://www.propertylinks.biz/images/Barbican.jpg

    <property>ALMAR 92R4</property>
    <photo>images/Barbican.jpg</photo>
    <photo2>PHOTOALMAR 92R43</photo2>
    <photo3>PHOTOALMAR 92R43</photo3>

    But in the rest there isn't.

    ===================

    So, before you go any further, find out why the others don't
    have a valid .jpg file listed in <photo>myphoto.jpg</photo>

    Whatever created that XML file didn't do something properly?

    Then, I was looking more at the "properties.xsl" ...
    wondering if PHP Curl() ... sort of like an RSS Reader might
    be the better way to read the XML file. I'm not really
    familiar with .xsl and the document type stuff.

    I could come up with an example of that (tomorrow maybe),
    if you don't find a solution.


  4. #3
    Member
    Join Date
    Aug 2006
    Posts
    67
    Member #
    13752
    oh right. sorry i added the photo link in there but thought i changed it back.

    since im not getting paid i think ill leave out the php stuff. :ermm:
    thanks anyway.

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    I guess I don't understand the "I'm not getting paid part" ...

    Creating a PHP XML (RSS reader) is very easy.
    If the XML is created correctly (with the photo URL), you could render it easily.

    Give me a URL to an XML file, and I'll show you.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:35 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com