[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: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 30 May 2001 15:02:35 +0100
Re:  Xsl in xml
u need to declare a namespace with your xml element that wraps around your
xsl

<resource xmlns="http://www.w3.org/1999/XSL/Transform">

<-- your xsl here -->

</resource>

this is a start, u will have to figure out the nuances when u experience
them,

remember if u use a namespace prefix like xsl: you will have to declare it

<?xml version="1.0" encoding="utf-8"?>
<resource xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="test"/>
</resource>


chow, jim fuller

----- Original Message -----
From: "Rachid Taji" <rachid.taji@xxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, May 30, 2001 2:52 PM
Subject:  Xsl in xml


> Hello,
>
> 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.
>
> My question is how can I process an XML file that contains xsl code.
>
> because when i add a xsl code i have the following error message:
>
> The namespace prefix "xsl" was not declared.
>
>
>
> PS :I used Xercess for parsing and Xalan for processing
>
>
> Thanks you for your Help.
> Rachid
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.