Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Dealing only with Current Child Nodes

$
0
0

Please see attached script and XML. This was originally built to handle a JEHEADER ->JELINE structure with one JEHEADER per file. Got a new file for testing today, and it had multiple instances of JEHEADER -> JELINE. So Now, I have data I need to inject into JELINE from JEHEADER from only the current JEHEADER->JELINE.

There are five instances of JEHEADER->JELINE in this attached XML and the data I am injecting from the headers get injected 5 times on each JELINE.

So how do I stay on only the current JEHEADER -> JELINE?

If someone could take a look it would be really helpful


Viewing all articles
Browse latest Browse all 13067

Trending Articles