1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Extract URL/Image from Element

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by lberkefeld, Sep 14, 2009.

  1. lberkefeld

    lberkefeld Active Member

    Likes Received:
    Trophy Points:
    Hi. I am using Site Studio 10gr4.

    I have an element where users can insert an image and associated hyperlink.

    I am wanting to (in my region template), extract the URL of the image in order to display as a background image and then hook the URL up seperately.

    Can someone give me some guidance how I might go about doing this?

    In CDF:
    <wcm:root xmlns:wcm="http://www.stellent.com/wcm-data/ns/8.0.0" version="">
    <wcm:element name="TYPE" />
    <wcm:element name="TITLE">Managing Lifes Risks</wcm:element>
    <wcm:element name="INTRO">Something</wcm:element>
    <wcm:element name="CTA">Click</wcm:element>
    <wcm:element name="BANNER"><a href="http://axaadvantage.com.au" target=""><img src="[!--$wcmUrl('resource','groups/public/documents/system/test_banner3.jpeg')--]" alt="Test - banner 3" /></a></wcm:element>