Subject: Re: [xsl] problem with d-o-e in attribute From: phdrix <pdrix@xxxxxxxxxxxx> Date: Sat, 24 Apr 2004 16:27:11 +0200 |
Philippe Drix wrote:
Hi!
I am working on XSL Transformations to generate XML OpenOffice.org files, namely content.xml and styles.xml.
I am puzzled by a bug I cant work around by pure XSLT code.
Here the problem :
<?xml version='1.0' encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/"> <foo>
Don't understand why you need it, but
<xsl:attribute name="bar">&apos;bar&apos;</xsl:attribute>
why not just
<foo bar="'bar'"/>
or
<foo bar="'{$bar}'"/>
best, -Rob
-- -- Philippe Drix - Objectiva
Objectiva tel : 01 47 36 60 30 cel : 06 74 78 34 97 fax : 01 47 36 61 93 http://www.objectiva.fr 21-23, rue Aristide Briand 92170 Vanves
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] problem with d-o-e in att, Robert Koberg | Thread | Re: [xsl] problem with d-o-e in att, Julian Reschke |
Re: [xsl] dynamic variable names, Robert Koberg | Date | Re: [xsl] Is it an error if can't r, Bob Foster |
Month |