Alexander.Linkov |
Newbie |
|
|
|
|
None Specified |
|
Friday, October 21, 2016 |
Thursday, May 11, 2017 9:53:51 AM |
3 [0.02% of all post / 0.00 posts per day] |
|
I cannot find a forum for the XMLSpy product, so I post it here.
I use XSL-transformation to get HTML from a source XML. Resulting HTML must load jQuery and Bootstrap scripts. The problem is that XMLSpy throws an error, when open the HTML:
The most interesting thing, that when I open the generated HTML file in a browser, it opens well and all the scripts work.
Does XMLSpy has some limitations on loading scripts? Or which JavaScript version does it support? If it must work, what is wrong? It is not really convenient to click "yes" for each script and then open the file in a browser.
|
I am looking forward to fix!
Thank you!
|
Hello!
I try to create a macros, and stack with using the Documents.NewFileFromText() methods. I have a plain html source, similar to this:
Code:<!DOCTYPE html> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Some Title</title> </head> <body> ...... </body> </html> I want to create a new file with this content by using the:
Code:Application.Documents.NewFileFromText(htmlcontent, "html"); but I get Code:"0x800406a9 - Altova.Application: Documents: Documents: error setting text as xml content" Even when I try to use:
Code:Application.Documents.NewFileFromText("text", "txt"); I get the same error. What am I doing wrong?
|
|