Subject: RE: [xsl] unwelcome SPAN in text output From: "Arthur Allen" <arthur_allen@xxxxxxxxxxx> Date: Tue, 29 Apr 2003 21:53:07 +0000 |
Thanks for your help. I'm new to this list, and also to XSLT (what a struggle, even aided by Michael's excellent book).
* input sample (no SPAN elements that I can detect, very short) * stylesheet (with text output mode set) * the output loaded with SPAN.
I'm flumoxed. I have noticed that the processor ignores my newline instruction <xsl:text> </xsl:text>
<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"/>
<!--emit ID, position, depth, parent ID tuple--> <xsl:value-of select="@taxo:name"/> <xsl:text> </xsl:text> <xsl:value-of select="@taxo:index"/> <xsl:text> </xsl:text> <xsl:value-of select="@taxo:depth"/> <xsl:text> </xsl:text> <xsl:if test="$parentID"> <xsl:value-of select="$parentID"/> </xsl:if> <xsl:text> </xsl:text> <xsl:apply-templates select="taxo:show"/> </xsl:template> </xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] unwelcome SPAN in text ou, Passin, Tom | Thread | RE: [xsl] unwelcome SPAN in text ou, Michael Kay |
Re: [xsl] showing column headers in, G. Ken Holman | Date | [xsl] Probelm reading XSL (on Mozil, rosta |
Month |