Subject: [xsl] Question on space normalization in serialization From: "David Sewell dsewell@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 1 Sep 2015 21:16:51 -0000 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <xsl:variable name="CSS1" as="xs:string" select="' p { color:pink; } a { font-family: fantasy} '"/> <xsl:variable name="CSS2" as="xs:string"> p { color:pink; } a { font-family: fantasy} </xsl:variable> <xsl:template name="main"> <xsl:result-document href="test1.css" method="text"> <xsl:value-of select="$CSS1"/> </xsl:result-document> <xsl:result-document href="test2.css" method="text"> <xsl:value-of select="$CSS2"/> </xsl:result-document> </xsl:template> </xsl:stylesheet>
-- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400318, Charlottesville, VA 22904-4314 USA Email: dsewell@xxxxxxxxxxxx Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Thread | Re: [xsl] Question on space normali, David Carlisle d.p.c | |
Date | Re: [xsl] Question on space normali, David Carlisle d.p.c | |
Month |