Hi, try serializing the resulting transformation as text. ex: <map:serialize type="text" mime-type="application/x-javascript"/>
HTH, Rui On Thu, 2004-09-30 at 11:18, [EMAIL PROTECTED] wrote: > I have scripts.xsl which transforms scripts.xml. > > Scripts.xml contains information to write JavaScript. > > I want to write: > if (i > 0) > > I know I need to write > instead of > > > The problem is, my transformed javascript then reads > > if (i > 0) > > My browser finds the ; and thinks it's the end of my line and my whole JavaScript > is messed up and doesn't run. > How do I do this correctly... > > My current XML is like this... > <function> > <name>somename</name> > <lines> > <line>if (i > 0)</line> > </lines> > </function> > > I want the output to be > if (i > 0) > > Thanks in advance for the help. > > __________________________________________________________________ > Get Tiscali Broadband From Â15:99 > http://www.tiscali.co.uk/products/broadbandhome/ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Rui Alberto L. GonÃalves <[EMAIL PROTECTED]> PT InovaÃÃo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
