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

RE: Accessing the XML declaration, the namespace-uri() funct

Subject: RE: Accessing the XML declaration, the namespace-uri() function
From: "Richard Reich" <richard@xxxxxxxxx>
Date: Fri, 5 Nov 1999 19:16:04 -0800
accessing a processing instruction
Indeed the XML Recommendation defines these productions, which specifically
exclude putative PIs that begin with "xml":

Processing Instructions
[16]  PI ::=  '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
[17]  PITarget ::=  Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

-r

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Mike Brown
> Sent: Friday, November 05, 1999 12:39 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: Accessing the XML declaration, the namespace-uri() function
>
>
> > >Dylan Walsh wrote:
> > The default XML viewer stylesheet
> > uses <xsl:template match="pi('xml')> as I've mentioned in
> > another post. Alas this isn't possible with up to date XSL.
>
> I missed the other post, but yeah, the XPath spec says:
> "NOTE: The XML declaration is not a processing instruction.
> Therefore, there is no processing instruction node
> corresponding to the XML declaration."



 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.