Xsl:include template with no default namespace causes xmlns?

Your first xslt, which contains the literal result element Description has no default namespace. This element is therefore in no namespace, and is being explicitly rendered as such via xmlns="" .

Your first xslt, which contains the literal result element Description has no default namespace. This element is therefore in no namespace, and is being explicitly rendered as such via xmlns Section 6.2 of Namespaces in XML 1.0 says that: The attribute value in a default namespace declaration MAY be empty. This has the same effect, within the scope of the declaration, of there being no default namespace In order to control the namespace generated in the included stylesheet you will need to pass the namespace-uri through to its templates, using a variable or param!

-- in the included stylesheet.

Your first xslt, which contains the literal result element Description has no default namespace. This element is therefore in no namespace, and is being explicitly rendered as such via xmlns="". Section 6.2 of Namespaces in XML 1.0 says that: The attribute value in a default namespace declaration MAY be empty.

This has the same effect, within the scope of the declaration, of there being no default namespace. In order to control the namespace generated in the included stylesheet you will need to pass the namespace-uri through to its templates, using a variable or param.

I did try that myself, however the calling templates couldn't update the variable name. – CraftyFella Apr 6 '10 at 15:50 I couldn't get it working, so I went with param's in the end.. – CraftyFella Apr 7 '10 at 14:56.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions