Questions tagged [msxsl]

69 questions
1
vote
1 answer

Visual Studio cannot find GetLocale() function used in VBScript as part of XSL

I am trying to debug XSLT in Visual Studio 2012 and I am getting following error: error: 'GetLocale' is not declared. It may be inaccessible due to its protection level. I am implementing script
grobartn
  • 3,510
  • 11
  • 40
  • 52
1
vote
1 answer

XML not displaying using XSL Stylesheet on windows Server 2008

Hi I know this might be ambigous but I really need help. I am trying to display XML data using XSL Stylesheet, but I get the following below error message on my IE. The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please…
TMAN-MAN
  • 141
  • 1
  • 2
  • 13
1
vote
1 answer

ignore whitespace in xslt template content

There are plenty of questions refering to ignoring whitespace in source XML data when using XSLT, but what I would really like, is to include whitespace in an XSLT template (for readability), but not having it output. Writing the template with…
Martijn
  • 11,964
  • 12
  • 50
  • 96
0
votes
1 answer

XSLT works in VS but not in ASP.NET runtime - fails with 'Cannot find script'

I am using xslt functions from MSXLT ...
Ryan
  • 3,924
  • 6
  • 46
  • 69
0
votes
2 answers

How can i use csharp code in xslt to transform xml in Online transformer

My code is working on visual studio but I don't want to depend on visual studio. When I transform the same code in an online transformer I'm getting this error. XPST0017 XPath syntax error at char 0 on line 14 near…
0
votes
0 answers

Variable or parameter 'XYZ' cannot be defined twice within the same template of XSL file

This is very strange issue I see. When I execute the command: msxsl.exe abc.xsl -o abc.xml This runs on my machine(Windows 10 Enterprise, version 20H2) but when I run the same on other machine with same OS, it says: Variable or parameter 'XYZ'…
Anand
  • 2,239
  • 4
  • 32
  • 48
0
votes
1 answer

Passing node as parameter in msxsl:script javascript function from XSLT for-each doesn't work

I am using MSXML6 and I've set the AllowXsltScript to true in order to enable the usage of scripts in my VB program. Given the following XML input:
cibuan
  • 15
  • 5
0
votes
2 answers

How to get UTF8 html using msxsl.exe in windows 10

I am using msxsl.exe to generate HTML file dynamically from an XML and XSL. I have written the code in C++ using CreateProcess API and calling msxsl.exe in that. Since the output was UTF8 in Windows 7, I created all associated files(like CSS and…
MGR
  • 313
  • 3
  • 14
0
votes
1 answer

VBScript is not working in Chrome but works in IE

i have a bunch of code in vbscrpt.I need to work this in both IE and Chrome.How can i make this function work in Chrome as well as IE Function Getdetails(Val1 , Val2) Dim…
Sowrabh
  • 21
  • 1
  • 4
0
votes
0 answers

When I run msxsl.exe on my DBML file, it introduces carriage returns that mess up the final SQLMetal.exe step

I just upgraded from VS 2015 to VS 2019 (and Windows 7 to Windows 10). My project is using SQLMetal.exe and msxsl.exe in a batch file to create and modify the DBML in three steps: Generate the DataModel.dbml file with SQLMetal.exe. Add database…
John Pasquet
  • 1,824
  • 15
  • 20
0
votes
2 answers

Keep xmlns location while running XSL processor on XML file

I want to add a node to an XML document using xslt. I am using msxsl as processor. The XML document has this structure:
harper
  • 13,345
  • 8
  • 56
  • 105
0
votes
0 answers

xsltproc interprets XSL different

I have 59,00 in XML and transform it with in XSL, but I get different result in different processors. In Liquid and msxsl, I get the correct…
Destrosvet
  • 107
  • 1
  • 1
  • 8
0
votes
2 answers

Transform XML using XSLT in Internet Explorer

I need JavaScript script to parsing of XML files through XSLT sheet to XHTML code. I've code compatible with Firefox, Opera and Safari. function loadXMLFile(path) { var file = document.implementation.createDocument("", "", null); file.async…
0
votes
0 answers

The 'msxsl' command line tool does not print xsl:message to the standard output.

I am currently using the 'msxsl' commandline tool to process my xml. I have some xsl:message in the xslt I use to debug, but these messages are not printed to the console. Is there any setting or command line argument for 'msxsl' to print the…
Nujufas
  • 676
  • 1
  • 9
  • 19
0
votes
0 answers

Inline c# in XSLT results in weird behavior

I generated an xsl stylesheet with some inline c# code. I need to use it in an asmx application running on IIS. This is an excerpt of the stylesheet:
garlix
  • 576
  • 9
  • 26