This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is it possible to construct new xml with xsl ?


On Mon, Jun 17, 2002 at 10:46:37AM -0700, Meir wrote:
> 
> ******************************** THE XSL *******************************
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> <xsl:template match="/">
> 
> <![CDATA[<?xml version="1.0"?>]]>
> <![CDATA[<myroot>]]>

just omit all the <![CDATA[ and ]]> from your .xsl file. if you
say
 <myroot>
then
 <myroot>
goes into the output.

you are misunderstanding fairly fundamentally how XSLT works.....
-- 
Sebastian Rahtz      OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]