Re: create XML from XML using XSL

Subject: Re: create XML from XML using XSL
From: Guy_Murphy@xxxxxxxxxx
Date: Wed, 7 Apr 1999 17:22:41 +0100
Hi Duane.

I'm sure I've missed something along the line.... but why are you producing
anchors in this way? I don't understand why you're resorting to entities
for angled brackets, there's no reason why you can't have.

<xsl:template match="someTag">
     <a>
          <xsl:attribute name="href">
               <xsl:value-of select=".[@file]" />
          </xsl:attribute>
          <xsl:value-of />
     </a>
</xsl:template>

...or some-such.

As a side note for those concerned with anchors in IE5 you might be
interested in using elements with the HTML namespace in XML documents
covered on the Microsoft website allowing <html:a href="...">link</html:a>
in an XML document rendered with CSS to achieve functionality founf in HTML
elements such as anchors, scripts etc.

Cheers
     Guy.





xsl-list@xxxxxxxxxxxxxxxx on 04/07/99 04:41:31 PM

To:   xsl-list@xxxxxxxxxxxxxxxx
cc:    (bcc: Guy Murphy/UK/MAID)
Subject:  Re: create XML from XML using XSL




[SNIP]

We are experiencing a similar problem with displaying a hyperlink in
5.0.   When we use xsl to try and output a link,
&lt;a href="somewhere.com"&gt;click me&lt;/a&gt;
[SNIP]
Duane Nickull

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread