xsl-list
[Top] [All Lists]

RE: RE: tansforming an XML into another XML help needed !

2005-04-20 10:59:57
Asking the correct question will not necessarily get you the correct answer. 
Unfortunately, asking the wrong question will certainly get you the wrong 
answer. If the example source document you provided does not adequately 
represent your real source document, try supplying the real source document and 
the desired output. If you have a stylesheet that almost works, then supply the 
stylesheet and tell us where you have a problem.
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Pierre-Yves <kyrios(_at_)rocketmail(_dot_)com>
Sent:     Wed, 20 Apr 2005 10:17:22 -0700 (PDT)
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  RE: [xsl] tansforming an XML into another XML help needed !

Hello,

Thanks for the answers but it's not so easy :

I gave Paragraph, Title_EN and SubParagraph_EN as examples but I have
many items that have other names.

doing something like item[(_at_)name='Title_EN'] or item[(_at_)name='Paragraph']
won't help me much...

I am trying with things like :
<item name="{substring-before(concat(@name, '_'), '_')}">
to get all items names without underscore something at the end
and 
[substring-after(@name, '_') to get EN or FR
but still I don't succeed in making something that outputs what I
expect.

Thanks,
Pierre.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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>
--~--