Skip to main content

Search

Search

Commander Issues With Xml

Comments

1 comment

  • Avatar
    Ian Cummings
    Moderator

    I changed the header of the XSL to the below.  However, it should be noted that the result gave no actual record data in the CDATA section:

     

    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" indent="yes" cdata-section-elements="TextData"/>
    <xsl:output omit-xml-declaration="no" encoding="UTF-8"/>
    <xsl:strip-space elements="*"/>
    

    To test your XSL more inteactively I recommend that you use this online tool:

     

    http://xslt.online-toolz.com/tools/xslt-transformation.php

     

    *Note that the site only supports XSL v1.0 so you'll need to modify that in the applicable xsl:stylesheet attribute.  You don't seem to be using an XSL v2.0 specific feature so that shouldn't be a problem.

     

    The below site is also a good XSL reference resource:

     

    http://www.zvon.org/comp/r/ref-XSLT_1.html#intro

    0

Please sign in to leave a comment.