Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xsl headers

Status
Not open for further replies.

rhull

Programmer
May 23, 2001
46
US
I am having trouble with XSL headers.

When I have
<?xml version=&quot;1.0&quot;?>
<xsl:stylesheet xmlns:xsl=&quot;uri:xsl&quot;>
<xsl:template match=&quot;/&quot;>

everything works fine except I can't seem to declare variables or use functions (ie. substring = errors occur)

And With
<?xml version=&quot;1.0&quot;?>
<xsl:stylesheet xmlns:xsl=&quot;<xsl:template match=&quot;/&quot;>

I dont get errors with variables or functions but no data is ever displayed.

Does anyone know what the main difference is and what I should be using.

Thanks!
-Ryan
 
Hello,
You could use whatever you want as naming space. It is not connected with what is on that address.
Standard is:
<xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;With this naming space you could use variables, etc.
D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top