xsl-list
[Top] [All Lists]

AW: AW: xhtml output formating problems / passing through pre defined static xhtml

2004-09-09 08:45:40
add xml:space="preserve" on to the xsl:variable that is storing your
boiler plate text.

David


How can i store it in a variable? I always get errors, that the <div> tag is
not closed and therefore is no valid xml, when i try to store the "boiler
plate" in an xsl:variable.

I just copied the "boiler plate" into a xsl:template and hoped it would
output correctly...

The structure of my file is like this:

static xhtml...
<div>
        #gmane.orgere the xslt is supposed to write in somedata###
</div>
...static xhtml 

So the oppening <div> would be the end of the variable to be inserted before
inserting the dynamic content, and the closing </div> would be the beginning
of the second variable that is suppoded to be inserted after the dynamic
content.

Is there another way of doing this??? Thanks fort he help!!!