xsl-list
[Top] [All Lists]

[xsl] template to group by tags

2008-08-19 05:13:15
Hello everybody!

I have one document .xml

<?xml version="1.0" encoding="windows-1252"?>
<file xmlns="http://bibtexml.sf.net/";>
    <entry id="art">
    <article>
      <author>Menéndez, Isabel</author>
      <author>Perez, Juanito</author>
      <number>409</number>
    </article>
  </entry>
  <entry id="boo">
    <book>
      <author>Boyne, John</author>
      <editor>Gonzalez, Luis</editor>
      <editor>Gomez, Maria</editor>
      <year>2006</year>
    </book>
  </entry>
</file>

I need one templete 1.0 or 2.0 to group tags author and editor like this, grouping the values by the word and:

<?xml version="1.0" encoding="windows-1252"?>
<file xmlns="http://bibtexml.sf.net/";>
    <entry id="art">
    <article>
      <author>Menéndez, Isabel and Perez, Juan</author>
      <number>409</number>
    </article>
  </entry>
  <entry id="boo">
    <book>
      <author>Boyne, John</author>
      <editor>Gonzalez, Luis and Gomez, Maria</editor>
      <year>2006</year>
    </book>
  </entry>
</file>

Could anybody help me please?

Regards

IZASKUN




--~------------------------------------------------------------------
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>
--~--

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