|
Subject: RE: Accessing the XML declaration, the namespace-uri() function From: "Richard Reich" <richard@xxxxxxxxx> Date: Fri, 5 Nov 1999 19:16:04 -0800 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Accessing the XML declaration, , Mike Brown | Thread | Question about XSL, Billy Gladys |
| Re: Abbreviated Syntax, Keith Visco | Date | RE: XML/XSL on the client for dynam, Mark D. Anderson |
| Month |