[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: unwelcome SPAN in text output

Subject: Re: unwelcome SPAN in text output
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sat, 26 Apr 2003 08:17:34 +0200
xml xa
And what is the XML that you haven't shown to us?

=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


"Arthur Allen" <arthur_allen@xxxxxxxxxxx> wrote in message
news:Law8-F81oe2U8QVjp3b0000a83b@xxxxxxxxxxxxxx
> I've been trying to prepare a tab-and-newline-delimited load file
> for mysql, and am finding my output
> file cluttered with unwanted <SPAN> elements! It looks
> to me like I am in a twilight zone between text & HTML.
>
> E.g., instead of
>
> usfr-gc_GeneralConcepts en "US GAAP - Commercial and Industrial"
> int-ar_AccountantsReport en "Accountants Report"
>
> I get the following, which BTW looks ok on the screen:
>
> <SPAN S_='02493EA0 12'>usfr-gc_GeneralConcepts</SPAN><SPAN S_='02493EA0
> 13'> </SPAN><SPAN S_='02493EA0 14'>en</SPAN><SPAN S_='02493EA0
> 15'> </SPAN><SPAN S_='02493EA0 16'>"</SPAN><SPAN S_='02493EA0 17'>US
GAAP -
> Commercial and Industrial</SPAN>
>
> This happens regardless of whether I use Saxon (6.5.2) or the
> processor native to Stylus Studio, but not using MSXML3.0.
>
> My code runs as follows...
> <?xml version='1.0'?>
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
> xmlns:taxo="urn:taxonomy-analysis:xslt"
> xmlns:saxon="http://icl.com/saxon"
> xmlns:msxsl="urn:schemas-microsoft-com:xslt"
> >
> <xsl:output method="text" encoding="UTF-8" indent="no"/>
>
> <xsl:template match="/">
> <xsl:apply-templates
> select="taxo:all/taxo:itemTable/taxo:item/taxo:label"/>
> </xsl:template>
> <xsl:template match="taxo:label">
> <xsl:variable name="ID" select="parent::taxo:item/@taxo:name"/>
> <!--emit ID,language,label tuple-->
> <xsl:value-of select="$ID"/>
> <xsl:text>&#x9;</xsl:text>
> <xsl:value-of select="@xml:lang"/>
> <xsl:text>&#x9;</xsl:text>
> <xsl:text>&quot;</xsl:text>
> <xsl:value-of select="."/>
> <xsl:text>&quot;</xsl:text>
> <xsl:text>&#xa;</xsl:text>
> </xsl:template>
> </xsl:stylesheet>
>
> Thanks for your attention,
> Arthur Allen
>
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.