msxsl:node-set with default namespace

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MoonStorm

    msxsl:node-set with default namespace

    Hi guys,


    Please solve a puzzle I am trying to figure out for some time.
    Let's say I have a fragment stored inside a variable, for instance:


    <xsl:variable name="layoutSet tings">
    <module>
    <size>345</size>
    <title>whatever </title>
    </module>
    </xsl:variable>


    My standard namespaces look like this:
    <xsl:styleshe et version="1.0"
    xmlns:xsl="http ://www.w3.org/1999/XSL/Tra­nsform"
    xmlns:msxsl="ur n:schemas-micro­soft-com:xslt">


    The node-set function behaves as expected.
    The trouble appears when I try to add a default namespace to the
    xsl:stylesheet declaration. A
    select="msxsl:n ode-set($layout­Set tings)/module/title" will return
    nothing.

Working...