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

Re: Xsl in xml

Subject: Re: Xsl in xml
From: "Bob DuCharme" <bob@xxxxxxxxx>
Date: Wed, 30 May 2001 10:15:24 -0400
xsltquickly code
Rachid Taji wrote:
> I'm developing a tool that transform an xml file to xsl file by ussing a
xsl
> file. I do this to generate xsl files.
>
> XMLfile + XslFile ---XSLT---> XslFile.
>
> because when i add a xsl code i have the following error message:
>
> The namespace prefix "xsl" was not declared.

If you get an error message like that, the solution is simple: declare the
namespace!

> My question is how can I process an XML file that contains xsl code.

Using XSLT to create an XSLT stylesheet is tricky, because you have some
elements from the XSLT namespace in your original stylesheet that are meant
to be added to your result document as opposed to being treated as
instructions for manipulating the source tree. You need namespace-alias for
this. I wrote something about how to do it at
http://www.xml.com/pub/a/2001/04/04/trxml/index.html.

Bob DuCharme            www.snee.com/bob             <bob@
snee.com>      see http://www.snee.com/bob/xsltquickly for
info on upcoming "XSLT Quickly" from Manning Publications.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Xsl in xml
    • Rachid Taji - Wed, 30 May 2001 09:48:23 -0400 (EDT)
      • cutlass - Wed, 30 May 2001 10:03:26 -0400 (EDT)
      • Bob DuCharme - Wed, 30 May 2001 10:14:43 -0400 (EDT) <=

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.