M
Michael O'Shea
All, here are a few lines of contrived XSL to demonstrate my problem.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:test1="http://www.somewhere.com/test1"
xmlns:test2="http://www.somewhere.com/test1"
xmlns:mml="http://www.w3.org/1998/Math/MathML">
<xsl:template match="/">
<foo>
<bar>bar1</bar>
<bar>bar2</bar>
</foo>
</xsl:template>
When I transform any bit of XML with this XSL, I get the following
<?xml version="1.0"?>
<foo xmlns:test1="http://www.somewhere.com/test1"
xmlns:test2="http://www.somewhere.com/test1"
xmlns:mml="http://www.w3.org/1998/Math/MathML">
<bar>bar1</bar>
<bar>bar2</bar>
</foo>
I want
<?xml version="1.0"?>
<foo><bar>bar1</bar><bar>bar2</bar></foo>
Any suggestions to what I should be looking for in the docs would be
most welcome. The XSL is contrived - production XSL requires the
presence of the namespaces and the output produced is not static.
Regards
Mike
TESSELLA (e-mail address removed)
__/__/__/ Tessella Support Services plc
__/__/__/ 3 Vineyard Chambers, ABINGDON, OX14 3PX, England
__/__/__/ Tel: (44)(0)1235-555511 Fax: (44)(0)1235-553301
www.tessella.com Registered in England No. 1466429
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:test1="http://www.somewhere.com/test1"
xmlns:test2="http://www.somewhere.com/test1"
xmlns:mml="http://www.w3.org/1998/Math/MathML">
<xsl:template match="/">
<foo>
<bar>bar1</bar>
<bar>bar2</bar>
</foo>
</xsl:template>
When I transform any bit of XML with this XSL, I get the following
<?xml version="1.0"?>
<foo xmlns:test1="http://www.somewhere.com/test1"
xmlns:test2="http://www.somewhere.com/test1"
xmlns:mml="http://www.w3.org/1998/Math/MathML">
<bar>bar1</bar>
<bar>bar2</bar>
</foo>
I want
<?xml version="1.0"?>
<foo><bar>bar1</bar><bar>bar2</bar></foo>
Any suggestions to what I should be looking for in the docs would be
most welcome. The XSL is contrived - production XSL requires the
presence of the namespaces and the output produced is not static.
Regards
Mike
TESSELLA (e-mail address removed)
__/__/__/ Tessella Support Services plc
__/__/__/ 3 Vineyard Chambers, ABINGDON, OX14 3PX, England
__/__/__/ Tel: (44)(0)1235-555511 Fax: (44)(0)1235-553301
www.tessella.com Registered in England No. 1466429