|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: Instant Saxon
Hi Michel, this is not saxon specific. The way saxon does that is correct, as it does not introduce whitespace nodes that are not allowed. If additional whitespace nodes are ok for you, you may try: <xsl:output method="xml" indent="yes"/> in the beginning of your stylesheet. It will not look exactly like I.E.'s treeview, but may be ok for you. For a different encoding, use the encoding attribute of <xsl:output>, for example: <xsl:output method="xml" indent="yes" encoding="iso-8859-1"/> If you instead want utf-8 encoding but no encoding declaration in the result, then let me ask, why? Regards, Markus __________________________ Markus Abt Comet Computer GmbH http://www.comet.de ---------- Von: michel geadah Gesendet: Montag, 1. September 2003 09:44 An: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Betreff: Instant Saxon I am using oracle 8.1.7 database on windows2000 advanced server.I am using Instant saxon in order to transform XML documents into new XML documents.I am providing the Instant Saxon with the source XML document and XSL document.Its output in the IE6.0 is just fine like this: <?xml version="1.0" encoding="utf-8" ?> <WRATE_INDICATORS> <mappings> <RIND_CURR_CODE_1>119</RIND_CURR_CODE_1> <RIND_CURR_CODE_2>131</RIND_CURR_CODE_2> <RIND_INDICATOR>1</RIND_INDICATOR> </mappings> <mappings> <RIND_CURR_CODE_1>119</RIND_CURR_CODE_1> <RIND_CURR_CODE_2>136</RIND_CURR_CODE_2> <RIND_INDICATOR>1</RIND_INDICATOR> </mappings> </WRATE_INDICATORS> But when i press view->source to see it in text file i get the following output: <?xml version="1.0" encoding="utf-8"?><WRATE_INDICATORS><mappings><RIND_CURR_CODE_1>119</RIND_CURR_CODE_1><RIND_CURR_CODE_2>131</RIND_CURR_CODE_2><RIND_INDICATOR>1</RIND_INDICATOR></mappings><mappings><RIND_CURR_CODE_1>119</RIND_CURR_CODE_1><RIND_CURR_CODE_2>136</RIND_CURR_CODE_2><RIND_INDICATOR>1</RIND_INDICATOR></mappings></WRATE_INDICATORS> Does the instant Saxon always do that??...Is there a way or maybe another processor in order to get the output in text file the same as IE6.0. Can i generate the file without the (encoding="utf-8") in the beginning of the file? Thanks a lot... _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








