Thanks, this is a more helpful description of your problem.
It sounds like a description of a grouping problem. In XSLT 2.0 you can
tackle grouping problems using the new xsl:for-each-group instruction, but
in 1.0 there are a number of techniques, explained at
http://www.jenitennison.com/xslt/grouping
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Marcos Hercules dos Santos [mailto:mhercules(_at_)gmail(_dot_)com]
Sent: 13 February 2005 17:39
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] XSL create XML files
Mr. Kay, I yet don't have a structure, but my question is based in the
fact of using elements that will have more of one occurence in the
same structure XML , I would wish to create a XML file with the list
of these elements with no repetition.
EX. a product called TV will appear between hundreds of
others, but it'll appear
many times for differents customers. But in this file I want to create
it must appear just one time for when I need to print a list of
products.
This is the idea, but if you have other ways, send me back
Thanks,
Marcos Hercules dos Santos
On Sat, 12 Feb 2005 23:37:03 -0000, Michael Kay
<mike(_at_)saxonica(_dot_)com> wrote:
It's difficult to see exactly what you're trying to achieve
or why you are
finding it difficult. Perhaps you could show an example of
the input XML
that you're starting with and the output XML that you want
to produce.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Marcos Hercules dos Santos [mailto:mhercules(_at_)gmail(_dot_)com]
Sent: 12 February 2005 23:07
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XSL create XML files
Is there any Possibility of through XSL generate
other XML file
and after copy the
selected elements from the XML that I'm working to this
new file
(if possible).
If yes, would you show me the way ?
Thanks , once more.
Marcos Hercules dos Santos
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--