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

Re: checking sequence inside processing-instruction

Subject: Re: checking sequence inside processing-instruction
From: "Ganesh Babu N" <nbabuganesh@xxxxxxxxx>
Date: Fri, 4 Jul 2008 10:27:37 +0530
Re:  checking sequence inside processing-instruction
Thanks mike for your valuable solution. I am using XSLT 1.0.

Regards,
Ganesh


On 7/3/08, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>>
>> > <xsl:template match="processing-instruction('page')">
>>
>>   I first thought that was a mistake.  I always used the form
>> processing-instruction(page) instead (well, the rare times I
>> used it).
>> But I checked in the REC and saw that both forms are allowed.
>>  Is there any particular reason behind that choice?
>
> XPath 1.0 required the quotes. XPath 2.0 allowed the unquoted name for
> consistency with the new syntax element(e) and attribute(a); it was felt
> that the quotes were a bad idea because they suggested to users that an
> arbitrary expression could be used here, rather than a constant name. I used
> the quotes because I didn't know whether the OP was using 1.0 or 2.0.
>
> Michael Kay
> http://www.saxonica.com/

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-2007 All Rights Reserved.