CData in stylesheet does not work
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 370
Description
Hello, I tried the code in 3 different environments and the code always throws an error. It would be helpful to include instructions how to use and possible limitations.
1. Notepad++ immediately shuts down.
2. https://online-toolz.com/tools/xslt-transformation.php
Array
(
[type] => 2
[message] => XSLTProcessor::transformToXml(): XPath evaluation returned no result.
[file] => /var/www/html/online-toolz.com/functions/XSLT.php
[line] => 26
)
Error:XSLTProcessor::transformToXml(): XPath evaluation returned no result.
3. https://punchoutcommerce.com/tools/xslt-tester
XSLTProcessor::transformToXml(): xmlXPathCompOpEval: function circumference not found
XSLTProcessor::transformToXml(): Unregistered function
XSLTProcessor::transformToXml(): runtime error: file /web/punchoutcommerce.com/public/tools/ line 23 element value-of
XSLTProcessor::transformToXml(): XPath evaluation returned no result.
4. This post reports similar results
https://stackoverflow.com/questions/35342449/xslt-transformation-removes-cdata
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: d31a9f77-cd79-678a-8947-c1e8038d3ca4
* Version Independent ID: 84e43eee-a515-a284-ea4d-bbe918a66a28
* Content: [XSLT Stylesheet Scripting Using <msxsl:script>](https://docs.microsoft.com/en-us/dotnet/standard/data/xml/xslt-stylesheet-scripting-using-msxsl-script)
* Content Source: [docs/standard/data/xml/xslt-stylesheet-scripting-using-msxsl-script.md](https://github.com/dotnet/docs/blob/master/docs/standard/data/xml/xslt-stylesheet-scripting-using-msxsl-script.md)
* Product: **dotnet-data**
* GitHub Login: @gewarren
* Microsoft Alias: **gewarren**
Contributor guide
Assessment
This issue has not been assessed yet.