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]

XPath about pi and comment


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

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