XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Tucker PathSubject: 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


Documentsrc(1).xml


Documentesc.xsl

Postnext
Ivan PedruzziSubject: 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

Posttop
Tucker PathSubject: 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 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! 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

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
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.