Subject: Re: [xsl] a doubt regarding presence of quotation marks in a child elements From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx> Date: Fri, 10 Aug 2001 10:05:25 +0100 |
Hi Lakshmi, > I want to output the contents of the child element, onto a html > file, with the quotation marks preserved. The problem is, the values > are getting outputted upto the end of the first pair of quotation > marks i.e. near the %r in the first child element. Is there any way > I can bypass this, and get the whole value of the child element > printed??? Doing: <xsl:value-of select="child" /> while the current node is the parent node *should* give you the entirety of the text. An XSLT processor should not care about the quotation marks in element content at all. So if you're getting something different, there's either something wrong with your stylesheet, or something wrong with your XSLT processor, or something wrong with how you're calling it. Perhaps you can give more details about your stylesheet, your processor, and how you're using the processor, so we can narrow down the source of the problem? Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] a doubt regarding presence of, Lakshmi Narayanan K | Thread | [xsl] XML Outputting literal charac, Lee Goddard |
RE: [xsl] Capitalizing content of a, Tony Graham | Date | RE: [xsl] Passing XSL variable to J, Michael Kay |
Month |