[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: < problem
} } <link>This link do a <a href="click.pdf">click } $lt;/a</link> . That's the source of your problem. If you have any control overthe source XML documents don't write them like this! If you want an a element in the source do so: <link>This link do a <a href="click.pdf">click</a></link> . then you will be in a much better shape. If not you are not processing an XML input tree but just trying to parse expressions in a plain text string. It is possible to do this in simple cases in XSLT but XSLT just isn't designed for that job. You would be much better using perl or sed or emacs or any other language that treats the input as text rather than as a node tree,. } and my style is as below } <xsl:value-of disable-output-escaping = "yes" } select="normalize-space(link)"/> search the archives of this list and you will see 1000 reasons why it is almost never a good idea to use disable-output-encoding. > but the output does not give me a link in the html it actually most systems would (if outputting to a file) give you link markup from that command, but the XSLT specification explictly allows a processor to ignore disable-output-encoding. Some do, and it's more or less inevitable that it will be ignored in some embedded applications where the output from xslt is passed straight to another application without being written out and re-parsed. what processor are you using? David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|