|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Get Processing Instruction MSXML3.0 sp1
Jeni,
As always, thank you very much for the help.
I would not have taken the time to make sure
this was correct and using the proper syntax
if you had not helped me.
In this case, I am using the MSXML parser with
ASP, so there is no XSL involved. I am using
the DOMDocument object with the selectSingleNode
method to get the node I want.
I tried changing the pi() to processing-instruction(),
but at first it didn't work. then I came across
this:
The SelectionLanguage internal property defaults to
"XSLPattern." This value had to be changed first to
"XPath" for processing-instruction() to work for me.
In ASP, the syntax is
Call DOMDocument.setProperty ("SelectionLanguage", "XPath")
I know most of you are already aware of this, but I thought
I'd put it out there anyway for those of us who don't.
Thanks,
Jay
-----Original Message-----
From: Jeni Tennison [mailto:mail@xxxxxxxxxxxxxxxx]
Sent: Friday, May 18, 2001 2:11 AM
To: Jay Gardner
Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Get Processing Instruction MSXML3.0 sp1
Hi Jay,
> I found it with the pi() function.
The node test for processing instructions is called
processing-instruction() in XSLT (pi() is WD-xsl syntax):
/root/processing-instruction('MSSQLError')
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








