xsl-list
[Top] [All Lists]

RE: simple xsl:processing-instruction question

2005-11-08 07:20:34
Aidan,

I'm not quite sure what you are trying to get out the other end of your
transformation but try using the code below as the pi.xsl and build from
there.

pi.xsl
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
                <xsl:output method="html" indent="yes"
encoding="iso-8859-1"/>
        <xsl:template match="/">
                <xsl:for-each select="customers/customer">
                        <xsl:value-of select="name"/>
                        <br/>
                        <xsl:value-of select="address"/>
                        <br/>
                        <xsl:value-of select="phone"/>
                        <hr/>
                </xsl:for-each>
        </xsl:template>
</xsl:stylesheet>

XSLT can be VERY unforgiving.


William Charlton
The yMonda team
yMonda Limited
www.ymonda.net


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--