Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
disable-output-escaping and .NET Processor
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
disable-output-escaping and .NET Processor
Author:
Tucker Path
Date:
21 Feb 2005 03:43 AM
When I apply esc.xsl to src.xml using .NET Processor on Stylus Studio, I get 'A&B'.
The other processors honor disable-output-escaping and output 'A&B'.
Nxslt also outputs 'A&B'.
| C:\TEMP\esc>nxslt
| .NET XSLT command line utility, version 1.5 build 1860
| (c) 2004 Oleg Tkachenko,
http://www.tkachenko.com/dotnet/nxslt.html
| Running under .NET 1.1.4322.2032
|
| ...
|
| C:\TEMP\esc>nxslt src.xml esc.xsl
| <?xml version="1.0" encoding="utf-8"?>A&B
| C:\TEMP\esc>
So something strange seems happening on Stylus Studio's .NET Processor.
Is it possible to get 'A&B' on it?
My environment is Windows 2000 SP4 + .NET Framework 1.1 + latest security updates
src(1).xml
esc.xsl
next
Subject:
disable-output-escaping and .NET Processor
Author:
Ivan Pedruzzi
Date:
21 Feb 2005 11:37 PM
Trucker
The XslTransfomer (.NET XSLT porcessor) ignores disable-output-escaping by design when
it outputs to XmlWriter object.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconimplementationofdiscretionarybehaviorsinxsltransformclass.asp
Stylus Studio needs to use an XmlWriter to capture the output's result
for debugging/profiling/back-mapping. This is a known limitation.
Ivan
top
Subject:
disable-output-escaping and .NET Processor
Author:
Tucker Path
Date:
22 Feb 2005 01:14 AM
Hmm... Thanks for the answer. I'll have it in my mind while developing.
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.