xsl-list
[Top] [All Lists]

transform only a section of xml

2002-11-11 09:24:14
I am sure this is a FAQ but I am not sure how to ask this question properly
without illustrating it.
I would like to transform only a portion of an xml document while mainting
the rest of the structure.

<!-- original -->
<xml>
    <section>
        <title>title</title>
        <para>
            <form id="1"/> <!-- item to transform -->
        </para>
    </section>
</xml>

<!-- transform to -->
<xml>
    <section>
        <title>title</title>
        <para>
            <form method="post">
                <input type="text" name="NAME" />
            </form>
        </para>
    </section>
</xml>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>