| | |
Bad XML
Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Apr 2009
Posts: 4
Reputation:
Solved Threads: 0
Cannot figure out what is wrong with this stylesheet - attach it to any xml, it doesn't actually use the xml in this stripped down example:
Firefox keeps telling me
the error reporting tool tells me it's apparently having an issue with the closing attribute tag...
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
<?xml version='1.0' encoding='ISO-8859-1'?> <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:output method='html' indent='yes' media-type='text/html' /> <xsl:variable name='columns' select='10' /> <xsl:template match='/'> <table> <tr> <td> <xsl:attribute name='colspan'><xsl:value-of select='floor( $columns / 3 )' /></xsl:attribute> column 1 </td> <td> <xsl:attribute name='colspan'><xsl:value-of select='ceiling( $columns / 3 )' /></xsl:attribute> column 2 </td> <td> <xsl:attribute name='colspan'><xsl:value-of select='floor( $columns / 3 )' /></xsl:attribute> column 3 </td> </tr> </table> </xsl:template> </xsl:stylesheet>
Error loading stylesheet: XPath parse failure: Name or Nodetype test expected: (yeah it stops there)the error reporting tool tells me it's apparently having an issue with the closing attribute tag...
![]() |
Similar Threads
- Big Bad Virus Pls Help :( (Viruses, Spyware and other Nasties)
- XML error.. Please help (RSS, Web Services and SOAP)
- XML parsing (Python)
- Writing Xml From datasource with DTD (C#)
- updating pages with XML- "forthcoming events info" (RSS, Web Services and SOAP)
- omg this is a bad hijack log! (Viruses, Spyware and other Nasties)
- Flash & XML: skipping past 2nd XML Declaration (Graphics and Multimedia)
- I've got Trojan.Holax... is this bad? (Viruses, Spyware and other Nasties)
- required technical guidence for Struts and XML (Java)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: xsl error
- Next Thread: new to SOAP::Lite for Perl
| Thread Tools | Search this Thread |
Tag cloud for RSS, Web Services and SOAP
.htaccess 301 accept access alltop api authentication binarysecuritytoken blog card collaboration credit data development ebay email evernote flash google government highrise htaccess intel internet legal live netbeans patent paypal php podcast proxy redirect rss rssfeeds searchmonkey server service soap software swappingxmlfromflash swappingxmlnodes url web webservices webservicesecurity wiki wikipedia xerces xml xslt y!os yahoo ydn





