Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

<href> in xsl

843834Mar 26 2003 — edited Mar 26 2003
Hello All,
XML newbee. I have a XML feed which has a <url> element. I'm in the process of building XSL to display a <headline> element and href should redirect it to content page.

<headline>Headline News ...</headline>
<url>http://myserver.com/pages/Story.nsp?story_id=37614490&ID=apidemo</url>

XSL code:
" <xsl:value-of select ="headline"/></a>

href doesn't allow me to use <> inside "". I tried using & lt; but then the xslt engine ignores that statement. I tried using other escape characters but nothing worked. Value of 'headline' element is displayed fine. Any suggestions please.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2003
Added on Mar 26 2003
2 comments
175 views