|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: problem with URN please help (very urgent)!!
> > > > XSLT 2.0 allows this (by setting default-xpath-namespace) > but it's not > > possible in 1.0. > > ?xpath-default-namespace? Yes, sorry, we changed the name (several times) > > 3.3 says > There are a number of standard attributes that may appear on any XSLT > element: > ... xpath-default-namespace > Saxon 7.5.1 reports > Attribute xsl:xpath-default-namespace is not allowed on this > element when applied to xsl:template. > > How is it used please anyone? > As the spec says, you call it xsl:xpath-default-namespace if it's used on a literal result element, but xpath-default-namespace (sans prefix) if it's used on an XSLT instruction. Example: <xsl:for-each select="a/b/c/d" xpath-default-namespace="http://example.uri/"> <xsl:value-of select="e"/> </xsl:for-each> 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








