|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: namespace issues
Yes. I am beginning to think this is a bug with libxslt. For instance, given a sample XML file of: <?xml version="1.0"?> <sample> <foo name="one"/> <foo name="two"/> <foo name="three"/> <foo name="four"/> </sample> And a transform of: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:foo="http://borland.com/bogus"> <xsl:output method="html" indent="yes"/> <xsl:template match="/">
<html>
<xsl:for-each select="/sample/foo">
<xsl:element name="foo:whatever">
<xsl:value-of select="@name"/>
</xsl:element>
</xsl:for-each>
</html>
</xsl:template>
</xsl:stylesheet>Using libxslt (either via xsltproc or Python) I get: <html> <whatever>one</whatever><whatever>two</whatever><whatever>three</whatever><whatever>four</whatever> </html> Guess I'll post that as a bug and try a different processor. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








