How do I handle xslt script code samples?

I'm getting fatal error in XSLT scripts I've created using Notepad, UltraEdit or Help text published to the web. These tools show nothing no strange characters, but the script breaks unless I manually edit the input so it is all on one line (usually need tor recreate every blank character). Tedious for cut'n'paste code samples. Is the (XERCES?) parser interpreting some illegal character that doesn't display in these tools?

I've tried adding <?xml version="1.0" encoding="UTF-8"?> as the first line of a script, but that doesn't help. Anyone who can explain why the XML parser doesn't get past the (try the link).


the only possible character that you can get in those tools not to be rendered is the CR because you are working on windows. Try using a text editor that allows you to just use new lines with no CR (Jedit is an example)

Need Your Help

c++, levmar optimization, lapack, tnt library

c++ visual-studio optimization lapack++

it would be kind of someone to help with the issue:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.