Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML/XSL transformation questions

From: Ronald Pothuizen <rpothuiz@-------------.---.--->
To: 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent