This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
reference to undeclared namespace prefix:'xsl'
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] reference to undeclared namespace prefix:'xsl'
- From: "stefan m. ritter" <s dot m dot ritter at gmx dot de>
- Date: Sun, 29 Apr 2001 18:46:01 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
hi, I am using xmlspy 3.5 for processing my xsl style sheet. I want to use
inside this style sheet the following entity:
-------------------------------
<!---demo.xsl-->
<!DOCTYPE xsl:stylesheet [
<!ENTITY ntilde "<xsl:text>ñ</xsl:text>">
]>
<xsl:stylesheet....
------------------------------
now, when I try to transform my xml file, I get the following error:
"reference to undeclared namespace prefix:'xsl' in file demo.xsl"
as far as I understand xsl, the entity should be substituted inside my
stylesheet whenever I use ñ but it seems as if the xsl engine tries
to use <xsl:text> before knowing the xsl-namespace.
so, what is wrong? can I not use any xsl-elements (as <xsl:text above)
before declaring the xsl-namespace?
I saw a lot examples in the internet doing the same thing as I want to do.
but mine does simply not work.
can anybody help me?
thx in advance, stefan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list