• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Instant Saxon (IE and text file)

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:

But when i press view->source to see it in text file i get the following output:

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...
EDIT: I put the XML into a CODE block in order to clean up the output a bit...
[ September 01, 2003: Message edited by: Lasse Koskela ]
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops. I just realized that the one-big-line-of-xml-elements was intentional, right (i.e. you were asking why Saxon produces the "ugly" output instead of nicely indented, human-readable output)?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try adding indent="yes" to your <xsl:output> element.
 
Micheal Geadah
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Lasse,
indent="yes" didn't work...
Is there another alternative???
Thanks...
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's strange. I tried a simple transformation with indent="yes" with a number of parsers (MSXSL, Xalan, Saxon, Instant Saxon, XT) and all of them put the output on different lines. There was however differences in line indentation (i.e. how many characters to pad with, if at all).
Are you possibly using an old version of Instant Saxon?
 
Micheal Geadah
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It worked there was a problem with the header...
Do u happen to know how to insert a DATE from an xml file into a table using XSU?
Thanks a lot...
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My answer would be "what is XSU"?
(I know it's Oracle's XML SQL Utility but only because I Googled for it...)
I would suggest asking the XSU question in our Oracle forum.
 
He does not suffer fools gladly. But this tiny ad does:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic