This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: a doubt regarding presence of quotation marks in a child elements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]