RE: displaying xml
I'm responding to the previously included message. I have suggested that Orion look at the documentation provided by W3C, the World Wide Web Consortium, on it's Jigsaw server (which is similar in design to the Orion server). W3C is in the process of creating a three hundred or so page PDF format manual. While I don't expect Java developers to create that extensive documentation, this documentation could be farmed out to some technical writers. What will also be useful is further articles, such as those provided at www.jollem.com. -Original Message- From: Miles Daffin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 2:09 PM To: Orion-Interest Subject: Re: displaying xml If Orion included documentation that was half as decent as their most excellent server then perhaps the volume of confused, didn't read the readme.txt file, newbie questions would decrease. Where are the bird's-eye view diagrams - server architecture, topology, relationships between xml files etc? Not that hard for a good developer to knock up, and clearer by far than pages of liner descriptions. The lack of self starters? Here? You have GOT to be kidding! --On Tuesday, October 17, 2000 8:11 AM -0400 "Joseph B. Ottinger" [EMAIL PROTECTED] wrote: Or, of course, orionsupport.com, which I know at least two other people might be working on, and I'm considering reviving it myself. Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. On Mon, 16 Oct 2000, Hani Suleiman wrote: Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV DEFANGED_STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV DEFANGED_STYLE="margin-left:1em" SPAN DEFANGED_STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN DEFANGED_STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN DEFANGED_STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:te
RE: displaying xml
Or, of course, orionsupport.com, which I know at least two other people might be working on, and I'm considering reviving it myself. Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. On Mon, 16 Oct 2000, Hani Suleiman wrote: Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV DEFANGED_STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV DEFANGED_STYLE="margin-left:1em" SPAN DEFANGED_STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN DEFANGED_STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN DEFANGED_STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN DEFANGED_STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV DEFANGED_STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN DEFANGED_STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. mailto:[EMAIL PROTECTED] Echols To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on
RE: displaying xml
The lack of self starters? Here? You have GOT to be kidding! --On Tuesday, October 17, 2000 8:11 AM -0400 "Joseph B. Ottinger" [EMAIL PROTECTED] wrote: Or, of course, orionsupport.com, which I know at least two other people might be working on, and I'm considering reviving it myself. Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. On Mon, 16 Oct 2000, Hani Suleiman wrote: Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV DEFANGED_STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV DEFANGED_STYLE="margin-left:1em" SPAN DEFANGED_STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN DEFANGED_STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN DEFANGED_STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN DEFANGED_STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV DEFANGED_STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN DEFANGED_STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. mailto:[EMAIL PROTECTED] Echols To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. Th
FAQ-o-matic and OrionSupport (was Re: displaying xml)
That's an excellent idea! If Evermind doesn't do this I'm game to set it up and host it. Perhaps the gentleman who ran OrionSupport would be interested in making this part of his "new" site. On a similar topic: I'm interested in helping OrionSupport. While I may not have all the time to contribute content I'm more than willing to host the site and keep it updated. Interested? -- Jason Rimmer [EMAIL PROTECTED] - Original Message - From: "Hani Suleiman" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 16, 2000 8:57 PM Subject: RE: displaying xml Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV STYLE="margin-left:1em" SPAN STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. mailto:[EMAIL PROTECTED] Echols To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file t
Re: displaying xml
I really think this should be officially maintained by orion. Having multiple semi- or unofficial sites floating around is confusing IMHO and thus keeps people from contributing -Original Message- From: Joseph B. Ottinger [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Dienstag, 17. Oktober 2000 17:12 Subject: RE: displaying xml Or, of course, orionsupport.com, which I know at least two other people might be working on, and I'm considering reviving it myself. Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. On Mon, 16 Oct 2000, Hani Suleiman wrote: Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV DEFANGED_STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV DEFANGED_STYLE="margin-left:1em" SPAN DEFANGED_STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN DEFANGED_STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN DEFANGED_STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN DEFANGED_STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV DEFANGED_STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN DEFANGED_STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. mailto:[EMAIL PROTECTED] Echols To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the x
Re: displaying xml
--On Tuesday, October 17, 2000 8:11 AM -0400 "Joseph B. Ottinger" [EMAIL PROTECTED] wrote: Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. Dude, honestly, thanks for your other (slightly more useful) suggestion, however, might I suggest that you jack it down a little bit? Perhaps we should include in our judgement the possibility that one HAS tried something already? That one HAS looked around, read around and asked around? That is, of course, what this forum is for, yes? I am not in the habit of asking without trying first, thanks. My apologies to everyone else, I am aware of the inappropriateness of this reply in this forum.
Re: displaying xml
No, I don't think it should be maintained by Orion. A FAQ should be maintained by Orion, and it'd be nice to have something official (note that there IS a faq by Orion!) but a user-driven support site shoudl be independent, because otherwise you never know what's NOT being said. I wasn't afraid to criticize Orion, although what I needed was usually solved before I had a chance to write it up - but an Orion site would obviously be working at cross-purposes this way. I say, bring ON the user sites! Let's have MORE, for that matter, and have them cross-reference each other. On Tue, 17 Oct 2000, Christian Sell wrote: I really think this should be officially maintained by orion. Having multiple semi- or unofficial sites floating around is confusing IMHO and thus keeps people from contributing -Original Message- From: Joseph B. Ottinger [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Dienstag, 17. Oktober 2000 17:12 Subject: RE: displaying xml Or, of course, orionsupport.com, which I know at least two other people might be working on, and I'm considering reviving it myself. Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. On Mon, 16 Oct 2000, Hani Suleiman wrote: Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV DEFANGED_STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV DEFANGED_STYLE="margin-left:1em" SPAN DEFANGED_STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN DEFANGED_STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN DEFANGED_STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN DEFANGED_STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:temp
Re: displaying xml
On Tue, 17 Oct 2000, Derek Akers wrote: --On Tuesday, October 17, 2000 8:11 AM -0400 "Joseph B. Ottinger" [EMAIL PROTECTED] wrote: Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. Dude, honestly, thanks for your other (slightly more useful) suggestion, however, might I suggest that you jack it down a little bit? Perhaps we should include in our judgement the possibility that one HAS tried something already? That one HAS looked around, read around and asked around? That is, of course, what this forum is for, yes? I am not in the habit of asking without trying first, thanks. Reread what I was saying; I wasn't saying "You shouldn't ask here," but I was commenting on the "why doesn't someone else start a faq-o-matic", despite such things being easy to set up. Maybe I'm biased; it took me about a day or so of concentrated effort to get orionsupport up originally, and I really didn't know much (and still don't, really.) I figure, if I'm not that bright and I can get something up like that in relatively short time, surely others can do the same... yet what MOST people are settling for is "Why doesn't someone else do it?" --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer
Re: displaying xml
How about something like-a-this as well: http://www.c2.com/cgi/wiki?WikiWikiWeb - Original Message - From: Hani Suleiman To: Orion-Interest Sent: Tuesday, October 17, 2000 2:57 AM Subject: RE: displaying xml Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev SergeySent: Monday, October 16, 2000 8:33 PMTo: Orion-InterestSubject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers To: Orion-Interest Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML --!-- This stylesheet has been modified to use modes instead of nested templates. --!-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV STYLE="margin-left:1em" SPAN STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. Echols To: Orion-Interest Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been unable to find a solution...I thought maybe the contentType attribute of the %@ page % directive might do it, but it seems not.Does anyone know of a way to do this?Derek AkersInternet Application Developer Eldan Software, Toronto (416) 341-0070 www.eldan.com
RE: displaying xml
Title: RE: displaying xml I'd happily, gladly, and eagerly spend a day (or however long it takes) setting up Jyve (or any other J2EE compatible faq-o-matic module), if someone were willing to donate server space for it. Jyve sounds pretty decent as it's from java.apache.org (although I haven't used it at all, I'm just going by their reputation and the blurb about it on there) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B. Ottinger Sent: Tuesday, October 17, 2000 2:50 PM To: Orion-Interest Subject: Re: displaying xml On Tue, 17 Oct 2000, Derek Akers wrote: --On Tuesday, October 17, 2000 8:11 AM -0400 Joseph B. Ottinger [EMAIL PROTECTED] wrote: Although, honestly, the lack of self-starters here is rather annoying... Why doesn't somebody ELSE do it is a crappy way to go about development. Dude, honestly, thanks for your other (slightly more useful) suggestion, however, might I suggest that you jack it down a little bit? Perhaps we should include in our judgement the possibility that one HAS tried something already? That one HAS looked around, read around and asked around? That is, of course, what this forum is for, yes? I am not in the habit of asking without trying first, thanks. Reread what I was saying; I wasn't saying You shouldn't ask here, but I was commenting on the why doesn't someone else start a faq-o-matic, despite such things being easy to set up. Maybe I'm biased; it took me about a day or so of concentrated effort to get orionsupport up originally, and I really didn't know much (and still don't, really.) I figure, if I'm not that bright and I can get something up like that in relatively short time, surely others can do the same... yet what MOST people are settling for is Why doesn't someone else do it? --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer
Re: displaying xml
If Orion included documentation that was half as decent as their most excellent server then perhaps the volume of confused, didn't read the readme.txt file, newbie questions would decrease. Where are the bird's-eye view diagrams - server architecture, topology, relationships between xml files etc? Not that hard for a good developer to knock up, and clearer by far than pages of liner descriptions. The lack of self starters? Here? You have GOT to be kidding! --On Tuesday, October 17, 2000 8:11 AM -0400 "Joseph B. Ottinger" [EMAIL PROTECTED] wrote: Or, of course, orionsupport.com, which I know at least two other people might be working on, and I'm considering reviving it myself. Although, honestly, the lack of self-starters here is rather annoying... "Why doesn't somebody ELSE do it" is a crappy way to go about development. On Mon, 16 Oct 2000, Hani Suleiman wrote: Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev Sergey Sent: Monday, October 16, 2000 8:33 PM To: Orion-Interest Subject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com http://www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers mailto:[EMAIL PROTECTED] To: Orion-Interest mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML -- !-- This stylesheet has been modified to use modes instead of nested templates. -- !-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV DEFANGED_STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV DEFANGED_STYLE="margin-left:1em" SPAN DEFANGED_STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN DEFANGED_STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN DEFANGED_STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN DEFANGED_STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV DEFANGED_STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPA
Re: displaying xml
Perhaps enclosing the xml in pre> /pre> will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been unable to find a solution...I thought maybe the contentType attribute of the %@ page %> directive might do it, but it seems not.Does anyone know of a way to do this?Derek AkersInternet Application Developer Eldan Software, Toronto (416) 341-0070 www.eldan.com
Re: displaying xml
Use the view taglibrary, attached. You can also see the in16 (jsptags) project on sourceforge. Usage: view:escapeBlah blah blah/view:escape On Mon, 16 Oct 2000, Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been unable to find a solution... I thought maybe the contentType attribute of the %@ page % directive might do it, but it seems not. Does anyone know of a way to do this? Derek Akers Internet Application Developer Eldan Software, Toronto (416) 341-0070 www.eldan.com --- Joseph B. Ottinger [EMAIL PROTECTED] http://cupid.suninternet.com/~joeo HOMES.COM Developer viewtags-1.1.jar
Re: displaying xml
Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. - Original Message - From: Troy E. Echols To: Orion-Interest Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been unable to find a solution...I thought maybe the contentType attribute of the %@ page % directive might do it, but it seems not.Does anyone know of a way to do this?Derek AkersInternet Application Developer Eldan Software, Toronto (416) 341-0070 www.eldan.com
Re: displaying xml
To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers To: Orion-Interest Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML --!-- This stylesheet has been modified to use modes instead of nested templates. --!-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV STYLE="margin-left:1em" SPAN STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. Echols To: Orion-Interest Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been unable to find a solution...I thought maybe the contentType attribute of the %@ page % directive might do it, but it seems not.Does anyone know of a way to do this?Derek AkersInternet Application Developer Eldan Software, Toronto (416) 341-0070 www.eldan.com
RE: displaying xml
Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev SergeySent: Monday, October 16, 2000 8:33 PMTo: Orion-InterestSubject: Re: displaying xml To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers To: Orion-Interest Sent: Monday, October 16, 2000 6:44 PM Subject: Re: displaying xml Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. 1) use xmp /xmp tags - pre can;'t help. 2) use this xsl for XML parsing - ( i use it with Salaman's Saxon XSLT engine, but it will work under Orion default XSLT (xerces)) it will display your XML as HTML with XML reformating and coloring xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"xsl:output method="html" encoding="windows-1251" indent="yes"/ !-- Generic stylesheet for viewing XML --!-- This stylesheet has been modified to use modes instead of nested templates. --!-- Last Updated by Parf: moved to lotus xsl, main tag fix -- xsl:template match="/" HTML xsl:apply-templates/ /HTML /xsl:template xsl:template match="node()" xsl:if test="name()!='xml-stylesheet'" bbigxsl:textlt;/xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/bbr/ DIV STYLE="font-family:Courier; font-size:10pt; margin-bottom:0em" xsl:apply-templates mode="inside"/ /DIV bbigxsl:textlt;//xsl:textxsl:value-of select="name()"/xsl:textgt;/xsl:text/big/b /xsl:if /xsl:template xsl:template match="*" mode="inside" DIV STYLE="margin-left:1em" SPAN STYLE="color:blue" xsl:textlt;/xsl:text bxsl:value-of select="name()"//b xsl:for-each select="@*" xsl:call-template name="attribute"/ /xsl:for-each xsl:choose xsl:when test="self::node()" xsl:textgt;/xsl:text xsl:apply-templates mode="inside"/ xsl:textlt;//xsl:text xsl:value-of select="name()"/ xsl:textgt;/xsl:text /xsl:when xsl:otherwise xsl:text/gt;/xsl:text /xsl:otherwise /xsl:choose /SPAN /DIV /xsl:template xsl:template name="attribute" SPAN STYLE="color:navy" xsl:text /xsl:text xsl:value-of select="name()"/ xsl:text="/xsl:text SPAN STYLE="color:black" xsl:value-of select="."/ /SPAN xsl:text"/xsl:text /SPAN /xsl:template xsl:template match="comment()" mode="inside" SPAN STYLE="color:orange" xsl:textlt;!--/xsl:textxsl:value-of select="."/xsl:text--gt;/xsl:text /SPAN /xsl:template xsl:template match="processing-instruction()" mode="inside" DIV STYLE="margin-left:1em; color:maroon" xsl:textlt;?/xsl:text xsl:value-of select="name"/ xsl:text /xsl:text xsl:value-of select="."/ xsl:text?gt;/xsl:text /DIV /xsl:template xsl:template match="text()" mode="inside" SPAN STYLE="color:green" xsl:value-of select="."/ /SPAN /xsl:template /xsl:stylesheet - Original Message - From: Troy E. Echols To: Orion-Interest Sent: Monday, October 16, 2000 5:09 PM Subject: Re: displaying xml Perhaps enclosing the xml in pre /pre will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been unable to find a solution...I thought maybe the contentType attribute of the %@ page % directive might do it, but it seems not.Does anyone know of a way to do this?Derek AkersInternet Application Developer Eldan Software, Toronto (416) 341-0070 www.eldan.com