[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to define a namespace-prefix for null-namespac
Hallo David,
tanks for your information about the XML-background. Your last sentence also means that in the XSLT-Spec, exists no "dummy"-namespace as placeholder for that "no-namespace" like in my second trial: <xsl:stylesheet version="2.0" .... xmlns:my="#default"> <xsl:template match="my:*"> ... ?
for example from <xsl:stylesheet version="2.0" .... > <xsl:template match="root"> <xsl:apply-template select="tag1/tag2[tag3]"/> ... into <xsl:stylesheet version="2.0" .... xmlns:my="http://www.my.thenewnamespace"> <xsl:template match="my:root"> <xsl:apply-template select="my:tag1/my:tag2[my:tag3]"/> ... As far as I know it is neither possible to use empty namespace-prefix, like <xsl:stylesheet version="2.0" .... xmlns="http://www.my.thenewnamespace"> <xsl:template match="root"> <xsl:apply-template select="tag1/tag2[tag3]"/> thanks, Siggi -------------------------------------------------- Dipl.-Math. (Univ.) Siegfried Baiz Sulzer GmbH Frankfurter Ring 162, D-80807 Muenchen Tel.: +49 89 31858-264 Fax : +49 89 31858-599 mailto:baiz@xxxxxxxxx -------------------------------------------------- David Carlisle wrote: In my XSLT-stylesheet I wanted to define a xmlns-prefix for that null-namespace,
|
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
|