 |
 |
 |
<holtennorris@g...> wrote in message
news:3a73f159-5669-405f-b747-d83dedd3b992@r......
> Hello -
>
> I'm a long time Xalan/Saxon/EXSLT user who's researching what kinds of
> things I can do in msxsl:script javascript extensions on IE 6.0 ( I
> assume this is normally msxml version 3.0 ? ) I read some interesting
> ideas by Dimitre about EXSLT extensions at xml.com but it wasn't clear
> if this applies to IE or server side .Net.
>
> For example, is it possible inside msxsl:script to load an external
> XML file? ( xmlDoc.loadXML("xml/text.xml"); loadXML seems to work
> okay, but I'm not able to access any of the documentElement (root)
> childNodes. I use XML metadata to drive Ajax code generation, and I'm
> trying to see if I can dynamically edit metadata ( add/delete nodes,
> etc. ).
>
> Is there any way to modify the XML or XSL in the current running
> transformation? I would think not, and my research showed that any
> DOM or DOM nodes ( passed to my javascript functions) were read
> only. Has anyone found a workaround for this ?
>
> The msxml SDK docs MS download has a ton of great detail on the APIs,
> but not much about what applies or not to usage in msxsl:script
> running in IE. Are there any resources on this topic, sample code,
> etc, etc. ?
>
> I'd love to hear from Dimitre on this !
> Thanks for your thoughts !
> - Holten
On top on what Martin wrote you can do almost anything from a script block,
limited mainly by the security measures in force. For example you could
connect to an external database or web service.
Whether either of these two options is good practice however depends on the
specific scenario.
--
Joe Fawcett (MVP - XML)
http://joe.fawcett.name
|
 | 



|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |