[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Get Processing Instruction MSXML3.0 sp1

Subject: RE: Get Processing Instruction MSXML3.0 sp1
From: "Jay Gardner" <jgardner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 May 2001 10:59:28 -0500
msxml3.0 first
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.