Need to be pointed in the right direction.

xml:
<quotes>

<quote_block>
<quote_text></quote_text>
<quote_author></quote_author>
</quote_block>

<quote_block>
<quote_text></quote_text>
<quote_author></quote_author>
</quote_block>

etc...

</quotes>


xsl:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output omit-xml-declaration="yes" />
<xsl:template match="/">
    <xsl:for-each select="quotes/quote_block">
    <div style="margin-top: 10px; background-color: #f0f0f0; padding:
5px;">
      <div style="text-align: left; font-weight: bold;"><xsl:value-of
select="quote_text"/></div>
      <div style="text-align: left; font-style: italic;"><xsl:value-of
select="quote_author"/></div>
    </div>
    </xsl:for-each>
</xsl:template>

</xsl:stylesheet>

I know how to load the document, parse it, display contents etc... But
how can I grab just one group of values at a time using php?


-- 
Brian V Bonini
[EMAIL PROTECTED]
GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
_________________________________________________________
gfx-Design
http://www.gfx-design.com
Key Info: http://www.gfx-design.com/keys
[EMAIL PROTECTED]
Phone:(757)623-1655  Fax:(425)675-3094  

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to