Luke Ambrogio wrote:
>sorry to disturb again,
>
>i'm using jasvascript to change xsl:param values then process an xsl with an
>xml, and sometimes javascript returns this error when transforming:
>
>the data necessary to complete this operation is not yet available
>
>any ideas why?
>
Most probable cause is you are trying to do something with/on a document
that is not yet fully loaded. Hence the "*sometimes* javascript returns
an error".
Try to use asunchronous loading or load handlers.
hth,
Manos
Also, are you sure you need to modify the xsl:param via dom scripting as
opposed to just passing in a parameter?
this was necessary in the msxml2 interace to MS's wd-xsl variant of
"XSL" as it had no API for setting parameters while calling the
transform, but MSXML3/4 allow you to specify parameters without having
to modify the stylesheet DOM.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________