xml,xslt and html help

Discussion in 'XML' started by Arun dudee, Apr 10, 2007.

  1. Arun dudee

    Arun dudee Guest

    i have make a webpage on which i have t makes some hyerlinks on left
    of page and then on main page i have have a image on top of page and
    then below it some text.
    what i ahve to do is that these hyperlinks and image should come from
    an xml then using xslt show it on page.
    my question is how to put hyperlinks and image or image path in xml
    file so that pasring parsing it everyyhingh on page comes from xml.

    its urgent please help.
     
    Arun dudee, Apr 10, 2007
    #1
    1. Advertising

  2. Arun dudee

    Andy Dingley Guest

    On 10 Apr, 08:28, "Arun dudee" <> wrote:

    > my question is how to put hyperlinks and image or image path in xml
    > file so that pasring parsing it everyyhingh on page comes from xml.


    Read up on the use of xsl:attribute, then use something a bit like
    this

    <a>
    <xsl:attribute name="href" ><xsl:value-of
    select="./foo/bar/@href-attribute-source" /></xsl:attribute>
    <xsl:value-of select="./foo/bar/@link-text-attribute-source" />
    </a>
     
    Andy Dingley, Apr 10, 2007
    #2
    1. Advertising

  3. Arun dudee

    Arun dudee Guest

    On Apr 10, 2:44 pm, "Andy Dingley" <> wrote:
    > On 10 Apr, 08:28, "Arun dudee" <> wrote:
    >
    > > my question is how to put hyperlinks and image or image path in xml
    > > file so that pasring parsing it everyyhingh on page comes from xml.

    >
    > Read up on the use of xsl:attribute, then use something a bit like
    > this
    >
    > <a>
    > <xsl:attribute name="href" ><xsl:value-of
    > select="./foo/bar/@href-attribute-source" /></xsl:attribute>
    > <xsl:value-of select="./foo/bar/@link-text-attribute-source" />
    > </a>


    okie!!
     
    Arun dudee, Apr 10, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stylus Studio
    Replies:
    0
    Views:
    686
    Stylus Studio
    Aug 3, 2004
  2. =?ISO-8859-15?Q?=22Miguel_J=2E_Jim=E9nez=22?=

    Help! Parsing HTML inside XML with XSLT

    =?ISO-8859-15?Q?=22Miguel_J=2E_Jim=E9nez=22?=, Jul 20, 2004, in forum: XML
    Replies:
    1
    Views:
    1,010
    Martin Honnen
    Jul 20, 2004
  3. Replies:
    4
    Views:
    683
  4. jkflens
    Replies:
    2
    Views:
    1,497
    jkflens
    May 30, 2006
  5. asd
    Replies:
    0
    Views:
    334
Loading...

Share This Page