Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLWorks on w3schools tryit editor, but not DotNetNukeWorks on w3schools tryit editor, but not DotNetNuke
Previous
 
Next
New Post
5/4/2010 12:01 PM
 
I am having issues getting the image at the following location to appear in the XML module. It appears fine when I enter the XML and XSLT code in the try it editor on the w3schools website, but it doesn't work on my DotNetNuke site. I am, however, able to successfully display other information found in the XML file. I can post the contents of the two files if you need to see them. Thanks.

http://pol.pictometry.com/ImagePortal...=
 
New Post
5/5/2010 1:58 AM
 
Please post your XML source and the XSL transformation.
 
New Post
5/5/2010 2:48 PM
 
Thanks. Here you go:

<?xml version="1.0" encoding="UTF-8" ?>
- <search type="address" latitude="41.150829" longitude="-81.636024" precision="parcel" xmlns="http://pol.pictometry.com/ImagePortal/xml">
- <images count="5" views="NESWO" format="jpeg">
- <image>
  <view>N</view>
  <heading>7.98</heading>
  <level>N</level>
  <day>31</day>
  <month>03</month>
  <year>2007</year>
- <imagepolygon>
  <ul latitude="41.156886" longitude="-81.637690" />
  <ur latitude="41.155072" longitude="-81.627427" />
  <lr latitude="41.148232" longitude="-81.630265" />
  <ll latitude="41.149336" longitude="-81.637399" />
  </imagepolygon>
- <fullimage>
  <width>4008</width>
  <height>2672</height>
  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTM5LCJjeCI6NzA1LCJjeSI6MTgzOSwid2giOjQwMDgsImh0IjoyNjcyLCJvdyI6LTEsIm9oIjotMSwiY2giOjAsImRzIjoxLCJucCI6MCwiaGQiOjcuOTgsIml0Ijo4LCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjczMDg1Mjc5LCJoayI6ImQxZDE3ZDYwMDBlN2RlZDM1YzBjNmI5MWZkNDI2NGIxIn0=</url>
  </fullimage>
  </image>
- <image>
  <view>E</view>
  <heading>97.40</heading>
  <level>N</level>
  <day>31</day>
  <month>03</month>
  <year>2007</year>
- <imagepolygon>
  <ul latitude="41.152786" longitude="-81.632322" />
  <ur latitude="41.145764" longitude="-81.633444" />
  <lr latitude="41.147485" longitude="-81.641243" />
  <ll latitude="41.152621" longitude="-81.640421" />
  </imagepolygon>
- <fullimage>
  <width>4008</width>
  <height>2672</height>
  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTM2LCJjeCI6MTIxOCwiY3kiOjkyMSwid2giOjQwMDgsImh0IjoyNjcyLCJvdyI6LTEsIm9oIjotMSwiY2giOjAsImRzIjoxLCJucCI6MCwiaGQiOjk3LjQsIml0Ijo4LCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjczMDg1Mjc5LCJoayI6ImViZDZkZDZhNzAyNTIzOTkwYmZmNmQ2ZGNhYTdhYmZiIn0=</url>
  </fullimage>
  </image>
- <image>
  <view>S</view>
  <heading>172.81</heading>
  <level>N</level>
  <day>31</day>
  <month>03</month>
  <year>2007</year>
- <imagepolygon>
  <ul latitude="41.147407" longitude="-81.631438" />
  <ur latitude="41.147303" longitude="-81.641715" />
  <lr latitude="41.153918" longitude="-81.641413" />
  <ll latitude="41.154248" longitude="-81.634118" />
  </imagepolygon>
- <fullimage>
  <width>4008</width>
  <height>2672</height>
  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTI5LCJjeCI6MTQyMiwiY3kiOjExMjAsIndoIjo0MDA4LCJodCI6MjY3Miwib3ciOi0xLCJvaCI6LTEsImNoIjowLCJkcyI6MSwibnAiOjAsImhkIjoxNzIuODEsIml0Ijo4LCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjczMDg1Mjc5LCJoayI6ImMxN2M2NTlmNzc5OWYxNTkyODBjYTY1ZWUzMGU0NGY2In0=</url>
  </fullimage>
  </image>
- <image>
  <view>W</view>
  <heading>277.22</heading>
  <level>N</level>
  <day>31</day>
  <month>03</month>
  <year>2007</year>
- <imagepolygon>
  <ul latitude="41.145772" longitude="-81.642053" />
  <ur latitude="41.154206" longitude="-81.640995" />
  <lr latitude="41.151832" longitude="-81.630627" />
  <ll latitude="41.146104" longitude="-81.631487" />
  </imagepolygon>
- <fullimage>
  <width>4008</width>
  <height>2672</height>
  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTU2LCJjeCI6Mjc4NywiY3kiOjEwODksIndoIjo0MDA4LCJodCI6MjY3Miwib3ciOi0xLCJvaCI6LTEsImNoIjowLCJkcyI6MSwibnAiOjAsImhkIjoyNzcuMjIsIml0Ijo4LCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjczMDg1Mjc5LCJoayI6IjFhMGE4ZjE1ZGVmMThjOWIxMDI4ZWJhYjdiOTFlNDgyIn0=</url>
  </fullimage>
  </image>
- <image>
  <view>O</view>
  <heading>0.00</heading>
  <level>N</level>
  <day>31</day>
  <month>03</month>
  <year>2007</year>
- <imagepolygon>
  <ul latitude="41.154072" longitude="-81.638444" />
  <ur latitude="41.154072" longitude="-81.633119" />
  <lr latitude="41.148436" longitude="-81.633119" />
  <ll latitude="41.148436" longitude="-81.638444" />
  </imagepolygon>
- <fullimage>
  <width>3037</width>
  <height>4253</height>
- <worldfile>
  <a>0.000001753487</a>
  <d>0.0</d>
  <b>0.0</b>
  <e>-0.000001325142</e>
  <c>-81.638443870000</c>
  <f>41.154071550000</f>
  </worldfile>
  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTkxLCJjeCI6MTM4MCwiY3kiOjI0NDcsIndoIjozMDM3LCJodCI6NDI1Mywib3ciOi0xLCJvaCI6LTEsImNoIjowLCJkcyI6MSwibnAiOjAsImhkIjowLCJpdCI6OCwib2YiOiIwIiwicXMiOiI4MCIsInRjIjoiRkZGRjAwIiwiZmMiOiIwMDAwMDAiLCJ0cyI6MTI3MzA4NTI3OSwiaGsiOiI5YThmY2NmMjU2ODQzYWUwZDg0ZTBkZjYwMzQ0MDU0ZCJ9</url>
  </fullimage>
  </image>
  </images>
  </search>





<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:s="http://pol.pictometry.com/ImagePortal...">
   <xsl:template match="s:search">
     <html>
     <body>
      <xsl:for-each select="s:images/s:image/s:clip">
         <img><xsl:attribute name="src">
               <xsl:value-of select="s:url"/>
            </xsl:attribute>
         </img>
      </xsl:for-each>
  </body>
  </html>     
   </xsl:template>
</xsl:stylesheet>
 
New Post
5/5/2010 3:36 PM
 
I am so sorry, I gave you some bogus XML. Here's the correct one.


http://pol.pictometry.com/ImagePortal...">


N
7.98
N
31
03
2007







    400
    400
    >





      http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTM5LCJjeCI6NzA1LCJjeSI6MTgzOSwid2giOjQwMCwiaHQiOjQwMCwib3ciOjQwMCwib2giOjQwM
      CwiY2giOjAsImRzIjoxLCJucCI6MCwiaGQiOjcuOTgsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyO
      TgxODM5LCJoayI6IjQ5MDQ5YTZhMTIwZjZjY2Y5NTZlYTI2NmIwMjk3ZWI2In0=




      E
      97.40
      N
      31
      03
      2007







        400
        400






          http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTM2LCJjeCI6MTIxOCwiY3kiOjkyMSwid2giOjQwMC
          wiaHQiOjQwMCwib3ciOjQwMCwib2giOjQwMCwiY2giOjAsImRzIjoxLCJucCI6MCwiaGQiOjk3LjQsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZG
          MDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOTgxODM5LCJoayI6ImExYTVmZGEyODg2N2ExMThlZWI5ZTQ2ODhhYmI5MzYzIn0=




          >S
          172.81
          N
          31
          03
          2007






            400
            400






              http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTI5LCJjeCI6MTQyMiwiY3kiOjExMjAsIndoIjo0MDAsImh0Ijo0MDAsIm93Ijo0MDAsIm9oIjo0MDAsIm
              NoIjowLCJkcyI6MSwibnAiOjAsImhkIjoxNzIuODEsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOTgx
              ODM5LCJoayI6ImFlMDNlMDg0MThlYzUyZGE5YmM4NGE5Njg4OGU2NDRhIn0=




              W
              277.22
              N
              31
              03
              2007







                400
                400






                  http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTU2LCJjeCI6Mjc4NywiY3kiOjEwODksIndoIjo0MDAsImh0Ijo0MDAsIm93Ijo0MDAsIm9oIjo0MDAs
                  ImNoIjowLCJkcyI6MSwibnAiOjAsImhkIjoyNzcuMjIsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOT
                  gxODM5LCJoayI6IjdkYTA0ZmVhODU4ZDc0YWMzOTQ1YTFhZTg0ODY2YmM4In0=




                   
                  New Post
                  5/6/2010 3:42 PM
                   
                  Not sure why the last post formatted so poorly. Here is the XML again. Thanks.

                  <?xml version="1.0" encoding="UTF-8"?>
                  <search type="address" latitude="41.150829" longitude="-81.636024" precision="parcel" xmlns="http://pol.pictometry.com/ImagePortal...">
                  <images count="4" views="NESW" format="jpeg">
                  <image>
                  <view>N</view>
                  <heading>7.98</heading>
                  <level>N</level>
                  <day>31</day>
                  <month>03</month>
                  <year>2007</year>
                  <imagepolygon>
                  <ul latitude="41.156886" longitude="-81.637690"></ul>
                  <ur latitude="41.155072" longitude="-81.627427"></ur>
                  <lr latitude="41.148232" longitude="-81.630265"></lr>
                  <ll latitude="41.149336" longitude="-81.637399"></ll>
                  </imagepolygon>
                  <clip>
                  <width>400</width>
                  <height>400</height
                  ><imagepolygon>
                  <ul latitude="41.151349" longitude="-81.636413"></ul>
                  <ur latitude="41.151221" longitude="-81.635592"></ur>
                  <lr latitude="41.150329" longitude="-81.635653"></lr>
                  <ll latitude="41.150466" longitude="-81.636439"></ll>
                  </imagepolygon>
                  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTM5LCJjeCI6NzA1LCJjeSI6MTgzOSwid2giOjQwMCwiaHQiOjQwMCwib3ciOjQwMCwib2giOjQwMCwiY2giOjAsImRzIjoxLCJucCI6MCwiaGQiOjcuOTgsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOTgxODM5LCJoayI6IjQ5MDQ5YTZhMTIwZjZjY2Y5NTZlYTI2NmIwMjk3ZWI2In0=</url>
                  </clip>
                  </image>
                  <image>
                  <view>E</view>
                  <heading>97.40</heading>
                  <level>N</level>
                  <day>31</day>
                  <month>03</month>
                  <year>2007</year>
                  <imagepolygon>
                  <ul latitude="41.152786" longitude="-81.632322"></ul>
                  <ur latitude="41.145764" longitude="-81.633444"></ur>
                  <lr latitude="41.147485" longitude="-81.641243"></lr>
                  <ll latitude="41.152621" longitude="-81.640421"></ll>
                  </imagepolygon>
                  <clip>
                  <width>400</width>
                  <height>400</height>
                  <imagepolygon>
                  <ul latitude="41.151113" longitude="-81.635329"></ul>
                  <ur latitude="41.150478" longitude="-81.635425"></ur>
                  <lr latitude="41.150557" longitude="-81.636671"></lr>
                  <ll latitude="41.151164" longitude="-81.636608"></ll>
                  </imagepolygon>
                  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTM2LCJjeCI6MTIxOCwiY3kiOjkyMSwid2giOjQwMCwiaHQiOjQwMCwib3ciOjQwMCwib2giOjQwMCwiY2giOjAsImRzIjoxLCJucCI6MCwiaGQiOjk3LjQsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOTgxODM5LCJoayI6ImExYTVmZGEyODg2N2ExMThlZWI5ZTQ2ODhhYmI5MzYzIn0=</url>
                  </clip>
                  </image>
                  <image
                  ><view>S</view>
                  <heading>172.81</heading>
                  <level>N</level>
                  <day>31</day>
                  <month>03</month>
                  <year>2007</year>
                  <imagepolygon>
                  <ul latitude="41.147407" longitude="-81.631438"></ul>
                  <ur latitude="41.147303" longitude="-81.641715"></ur>
                  <lr latitude="41.153918" longitude="-81.641413"></lr>
                  <ll latitude="41.154248" longitude="-81.634118"></ll>
                  </imagepolygon><clip>
                  <width>400</width>
                  <height>400</height>
                  <imagepolygon>
                  <ul latitude="41.150305" longitude="-81.635445"></ul>
                  <ur latitude="41.150252" longitude="-81.636343"></ur>
                  <lr latitude="41.151330" longitude="-81.636572"></lr>
                  <ll latitude="41.151363" longitude="-81.635716"></ll>
                  </imagepolygon>
                  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTI5LCJjeCI6MTQyMiwiY3kiOjExMjAsIndoIjo0MDAsImh0Ijo0MDAsIm93Ijo0MDAsIm9oIjo0MDAsImNoIjowLCJkcyI6MSwibnAiOjAsImhkIjoxNzIuODEsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOTgxODM5LCJoayI6ImFlMDNlMDg0MThlYzUyZGE5YmM4NGE5Njg4OGU2NDRhIn0=</url>
                  </clip>
                  </image>
                  <image>
                  <view>W</view>
                  <heading>277.22</heading>
                  <level>N</level>
                  <day>31</day>
                  <month>03</month>
                  <year>2007</year>
                  <imagepolygon>
                  <ul latitude="41.145772" longitude="-81.642053"></ul>
                  <ur latitude="41.154206" longitude="-81.640995"></ur>
                  <lr latitude="41.151832" longitude="-81.630627"></lr>
                  <ll latitude="41.146104" longitude="-81.631487"></ll>
                  </imagepolygon>
                  <clip>
                  <width>400</width>
                  <height>400</height>
                  <imagepolygon>
                  <ul latitude="41.150593" longitude="-81.636942"></ul>
                  <ur latitude="41.151314" longitude="-81.636789"></ur>
                  <lr latitude="41.151055" longitude="-81.635179"></lr>
                  <ll latitude="41.150371" longitude="-81.635288"></ll>
                  </imagepolygon>
                  <url>http://pol.pictometry.com/ImagePortal/render/?id=eyJpZCI6MTE1MiwidGIiOiJPSCIsImlpIjo1NjQ2NTU2LCJjeCI6Mjc4NywiY3kiOjEwODksIndoIjo0MDAsImh0Ijo0MDAsIm93Ijo0MDAsIm9oIjo0MDAsImNoIjowLCJkcyI6MSwibnAiOjAsImhkIjoyNzcuMjIsIml0IjoyLCJvZiI6IjAiLCJxcyI6IjgwIiwidGMiOiJGRkZGMDAiLCJmYyI6IjAwMDAwMCIsInRzIjoxMjcyOTgxODM5LCJoayI6IjdkYTA0ZmVhODU4ZDc0YWMzOTQ1YTFhZTg0ODY2YmM4In0=</url>
                  </clip>
                  </image>
                  </images>
                  </search>
                   
                  Previous
                   
                  Next
                  HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLWorks on w3schools tryit editor, but not DotNetNukeWorks on w3schools tryit editor, but not DotNetNuke


                  These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

                  For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
                  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                  4. No Flaming or Trolling.
                  5. No Profanity, Racism, or Prejudice.
                  6. Site Moderators have the final word on approving / removing a thread or post or comment.
                  7. English language posting only, please.
                  What is Liquid Content?
                  Find Out
                  What is Liquid Content?
                  Find Out
                  What is Liquid Content?
                  Find Out