Hi Everyone,

For the following example, result-prefix is #default,  In this case, do I
need to specify the namesapce uri for default namespace ( e.g. xmlns =
"someuri") ?  What does XSLT 1.0 specifications say about it?

<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform";
    xmlns:pre="http://example1.com"; >
      <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"
/>
    <xsl:namespace-alias stylesheet-prefix="pre" result-prefix="#default"
/>
    <xsl:template match="/">
      <pre:title>
            Title
      </pre:title>
    </xsl:template>
</xsl:stylesheet>

Yash Talwar

Reply via email to