Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XML/XSL transformation questions [Thread Next] Re: XML/XSL transformation questionsTo: NULL Date: 6/7/2007 9:30:00 PM Martin Honnen gooide dit in microsoft.public.xsl: >Ronald Pothuizen wrote: > >> Directives: >> 1. go from XML 1 to XML 2 with use of XSL (figures) >> 2. copy only every NON-repetitive node (in this case everything but >> BOAs) from <Opsporingsdocument> to <Docvars> >> 3. copy repetitive nodes <BOAs> to <repeaters> > >What do you mean with "non repetitive node" respectively "repetitive >nodes"? Does that simply mean that you have several elements with the >same name? Or are you looking for unique element content? I mark BOA as being repetitive. Since that whole node (including childs) can occur more than once. ALGEMEEN is non-repetitive, as are the childnodes (without childs) of Opsporingsdocument. Hmmm, it's hard to explain, because I don't know the xml terminology that well. Maybe some examples: Repetitive: <BOA> Non-repetitive: <osz_nummer> <osd_nummer> <Documenttype> Oh wait, from within <Opsoringsdocument> I want all nodes copied that DO NOT have child nodes. Is that clear enough? The point is, I need to process the result (obviously) and I want to separate the stuff that has a deeper structure, from the stuff that doesn't. That way I can process them seperately. Primary objective: I need to move <BOAs> (completely) to <repeaters> and it should be gone in <docvars>, but everything else from <Opsporingsdocument> should be in <docvars>. I can't make myself any more clearer I think, sorry. Ronald -- ----------------------------------------------- User error: Please replace user and try again. http://blog.pothuizen.net | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
