This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: a doubt regarding presence of quotation marks in a child elements
- To: "Lakshmi Narayanan K" <lakshmik at india dot hp dot com>
- Subject: Re: [xsl] a doubt regarding presence of quotation marks in a child elements
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Fri, 10 Aug 2001 10:05:25 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <000d01c120c7$e5adadf0$64604c0f@india.hp.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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