XSLT Transform Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I try to transform xml that has default namespac
For example
<Root xmlns="http://BlaBla.Com"><SomeContent></SomeContent></Root

Then if I use the following xslt I’m getting no results because it expecting the namespace

<xsl:template match="/"><xsl:value-of select="// SomeContent" /></xsl:template

How can I make the xslt transfor
Run under the default namespac
TN
 
microsoft.public.xml



Bnaya Eshet said:
I try to transform xml that has default namespace
For example:
<Root xmlns="http://BlaBla.Com"><SomeContent></SomeContent></Root>

Then if I use the following xslt I'm getting no results because it expecting the namespace:

<xsl:template match="/"><xsl:value-of select="// SomeContent"
 
Back
Top