Subject: mixed-content values
From: "Borden, Jonathan" <jborden@xxxxxxxxxxxx>
Date: Sun, 24 Jan 1999 18:28:35 -0500
|
hello,
I am trying to ouput the text in a mixed content element using XSL but I'm
not sure how to specify the PCDATA part without the text from child
elements. For example
<Content-Type><charset>iso-8859-1</charset>text/plain</Content-Type>
What I would like to do is:
<xsl:choose><xsl:when match="Content-Type[text() = 'text/plain']"> ...
but this yeilds: "iso-8859-1text/plain"
or even:
<xsl:value-of select="Content-Type/text()" />
but I get an error (i am using IE5b2)
Jonathan Borden
http://jabr.ne.mediaone.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|