Re: Jscript in xml pages. Disaperas after file generation

2003-05-30 Thread Rainer Ammermann
Hallo Galia,
try using lt; for  and gt; for .
Since !--   -- defines a comment already at the XML/XSLT-level, it
is ignored by the processor and thus not included into the HTML result
tree.
Best wishes
Rainer

Galia Angelova schrieb:
 
 Hi,
 
 I have a silly problem.
 
 After generating an html or xml file - JavaScript disapears.
 Java Script is situated between: !--   --
 
 Do you have any suggestions?
 
 Galia
 
 --
 Do you Yahoo!?
 Free online calendar with sync to Outlook(TM).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jscript in xml pages. Disaperas after file generation

2003-05-30 Thread Upayavira
On 30 May 2003 at 10:38, Rainer Ammermann wrote:

 Hallo Galia,
 try using lt; for  and gt; for .
 Since !--   -- defines a comment already at the XML/XSLT-level,
 it is ignored by the processor and thus not included into the HTML
 result tree. Best wishes Rainer

AFAIK doing that will result in lt; and gt; in your resultant HTML.

Instead, wrap the entire Javascript area, including !-- in an XML CDATA tag (sorry, 
can't remember syntax).

Regards, Upayavira

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jscript in xml pages. Disaperas after file generation

2003-05-30 Thread Emmanuil Batsis (Manos)
Try

xsl:comment
   // javascript code here
/xsl:comment
CDATA is the ideal but does not work well with that crap browser 
everyone seems to be using.

hth,

Manos

Upayavira wrote:
On 30 May 2003 at 10:38, Rainer Ammermann wrote:


Hallo Galia,
try using lt; for  and gt; for .
Since !--   -- defines a comment already at the XML/XSLT-level,
it is ignored by the processor and thus not included into the HTML
result tree. Best wishes Rainer


AFAIK doing that will result in lt; and gt; in your resultant HTML.

Instead, wrap the entire Javascript area, including !-- in an XML CDATA tag (sorry, 
can't remember syntax).

Regards, Upayavira

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Jscript in xml pages. Disaperas after file generation

2003-05-30 Thread Galia Angelova
Thank you!


![CDATA[ .]] worked
Have a nice weekend!Galia"Emmanuil Batsis (Manos)" [EMAIL PROTECTED] wrote:
Try// _javascript_ code hereCDATA is the ideal but does not work well with that crap browser everyone seems to be using.hth,ManosUpayavira wrote: On 30 May 2003 at 10:38, Rainer Ammermann wrote:  Hallo Galia,try using "" for "" and "" for "".Since defines a comment already at the XML/XSLT-level,it is ignored by the processor and thus not included into the HTMLresult tree. Best wishes Rainer   AFAIK doing that will result in  and  in your resultant HTML.  Instead, wrap the entire _javascript_ area, including