I'm trying to integrate the MSXSL tool into TextPad, in order to insert line breaks into an XML file. I can run the tool from the "Tools|Run..." as follows:
Command: C:\WINNT\msxsl.exe
Parameters: $File identity.xsl -v
Initial Folder: C:\WINNT
Capture Output: checked
This works correctly. The XML is output exactly as intended. When I run the same thing after adding it to the "Configure|Preferences..., Tools" option as follows:
Command: C:\WINNT\msxsl.exe
Parameters: $File identity.xsl -v
Initial Folder: C:\WINNT
Capture Output: checked
it looks like Null, code=0, characters get inserted after every output character. Has anyone else run into a problem like this? Or does anyone have a suggestion for fixing this? Thanks.
Garbage Characters in Tool Output
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
I wasn't specifying an output method. When i add an output method to my xsl files as follows:
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" encoding="UTF-8"/>
the output appears correctly. So i'm a little confused as to why it appears correctly under "Tools|Run..." regardless, but not when i set it up as named tool. But at least I have a workaround now. Thanks.
Any ideas for tweaking TextPad so I don't have to explicitly set the encoding with my xsl file?
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" encoding="UTF-8"/>
the output appears correctly. So i'm a little confused as to why it appears correctly under "Tools|Run..." regardless, but not when i set it up as named tool. But at least I have a workaround now. Thanks.
Any ideas for tweaking TextPad so I don't have to explicitly set the encoding with my xsl file?