Loading ...
Sorry, an error occurred while loading the content.

RE: [XSL-FO] href emmbedded in xsl

Expand Messages
  • Counsell, Mike
    something like this of the top of my head... you get the idea....
    Message 1 of 3 , Aug 6, 2001
    • 0 Attachment
      something like this of the top of my head... you get the idea....
       
              <xsl:element name="a">
                  <xsl:attribute name="href"><xsl:value-of select="location"/></xsl:attribute>
                  <xsl:value-of select="title"/>
              </xsl:element>
      -----Original Message-----
      From: rtobin@... [mailto:rtobin@...]
      Sent: Monday, August 06, 2001 4:39 PM
      To: XSL-FO@yahoogroups.com
      Subject: [XSL-FO] href emmbedded in xsl

      HELP!!
      How can I get an xsl to generate a href with the location being an
      xml element i.e.

      when a xsl interrogates an xml doccument it returns the value and
      places it in a href tag

      The problem is in html it has to look like:

      <a href="<xsl:value-of select="location"/>">
      <xsl:value-of select="title"/>
      </a>

      this should generate a href with location and title
      But xsl does not let you overlap tags!

      another problem is that it has to be compiled inside the xsl not the
      asp page that calls it!
      I've tried Javascript, reverse tagging, hitting the monitor, crying
      and shouting but I cant get it to work.

      If you can help or have any tips then pls e-mail me
      rtobin@...

      Thanx


      To unsubscribe from this group, send an email to:
      XSL-FO-unsubscribe@egroups.com



      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
    Your message has been successfully submitted and would be delivered to recipients shortly.