[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

reference to undeclared namespace prefix:'xsl'

Subject: reference to undeclared namespace prefix:'xsl'
From: "stefan m. ritter" <s.m.ritter@xxxxxx>
Date: Sun, 29 Apr 2001 18:46:01 +0200
reference to undeclared namespace prefix
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>&#241;</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 &ntilde; 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.