Hi,
How is it possible to avoid that a self-created namespace is passed on to the HTML code?
In a macro I have a namespace called 'xmlns:TheAgency="urn:my-scripts"', and it is grouped in the top of the XSLT along with the others, like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:Stylesheet [ <!ENTITY nbsp " "> ]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings"
xmlns:TheAgency="urn:my-scripts"
xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath"
exclude-result-prefixes="msxml msxsl umbraco.library Exslt.ExsltStrings Exslt.ExsltMath"
>
It is being used with a random function. When I view my HTML source the namespace is appearing in the output as follows:
Code:<div id="speech-box" xmlns:TheAgency="urn:my-scripts">
- Does anyone have a suggestion on why this is happening? And How I can avoid it being passed to the HTML code?
/Jan