This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XPath about pi and comment
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] XPath about pi and comment
- From: "Shinichiro HAMADA" <shinichiro dot hamada at toshiba dot co dot jp>
- Date: Thu, 11 Jan 2001 15:07:04 +0900
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello, all.
In the following source, Is there any way to get "pivalue" and "comment"
by XSLT? I tryed it with node-test function, processing-instruction() and
comment() like this;
<xsl:value-of select="*[processing-instruction()]"/>
<xsl:value-of select="*[comment()]"/>
But it didn't work well. Please give me any comments. Thank you.
-- source --
<?xml version="1.0"?>
<doc>
<?pi pivalue?>
<!-- comment -->
<el>text</el>
</doc>
--
Shinichiro Hamada
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list