xsl-list
[Top] [All Lists]

RE: [xsl] Producing Excel 2000 htm files: how do I manage the hidden stuff

2006-05-03 01:14:09
Charles

I realise you're a bit hampered using Excel 2000, later versions do have XML exports and the current beta of Office 12 uses XML as the native format.

When I tried a few experiments I was able to remove the commenting without any noticeable effect.

--

Joe



From: cknell(_at_)onebox(_dot_)com
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: Re: RE: [xsl] Producing Excel 2000 htm files: how do I manage the hidden stuff
Date: Tue, 02 May 2006 16:56:49 -0400

My confusion was that I was inserting the xml section into an <xsl:comment> element, rather than a no-namespace-prefix <comment> element. Now that I've cleared up that bit of mental muddle, I'm proceeding along the path suggested by Michael Kay, namely, use a bit of post-processing to swap the <comment></comment> for &lt;!-- --&gt;.

Since the whole shebang is orchestrated through ant, it's a trivial matter to insert another task in the processing stream to make the swap.

Thanks for your interest.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Jon Gorman <jonathan(_dot_)gorman(_at_)gmail(_dot_)com>
Sent:     Tue, 2 May 2006 12:58:52 -0500
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: RE: [xsl] Producing Excel 2000 htm files: how do I manage the hidden stuff

On 5/2/06, Jon Gorman <jonathan(_dot_)gorman(_at_)gmail(_dot_)com> wrote:
> On 5/2/06, cknell(_at_)onebox(_dot_)com <cknell(_at_)onebox(_dot_)com> wrote:
> > The direct answer is, "Because I didn't think of it." Having now tried it, I can tell you that it strips away all the XML markup from the document, leaving only the element contents.
>
> It creates an comment, just like xsl:element.

That being "It creates a comment, just like xsl:element creates an element."

That might make my point a little clearer.

Jon Gorman

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--