On Fri, 25 May 2012 10:46:02 +0000, iceman3 wrote:

> Ok I decided to writ ethe xslt based upon the dtf driver but for some
> reason it is not reading the output end tags right, thinks it should be
> one closing before the other closing but the other closing is in the
> correct place.


I'm not seeing what you're talking about here. Feeding this my same input
document, I get back:

<output>
<idm>
<eagle>10080404</eagle>
<userid>laffeyta</userid>
<timestamp/>
<primaryAffiliation>Test PA</primaryAffiliation>
<affiliations>
<affiliation/>
<affiliation/>
</affiliations>
<priorityStatus/>
<primaryAlias>taylor.laffey@bc.edu</primaryAlias>
<mailRoutingAddress>test@host.bc.edu</mailRoutingAddress>
<mailHost>host.bc.edu</mailHost>
<aliases>
<alias>taylor.laffey.1@bc.edu</alias>
<alias>taylor.laffey.1@bc.edu</alias>
</aliases>
</idm>
</output>

which seems to be what you wanted, sort of, but not what your original
post specified. Your original post said you wanted:

<idm>
....
</idm>

as the output, here you have:

<output>
<idm>
...
</idm>
</output>

but that's what's in your XSLT. I don't see anything wrong with the
<output> tags, though.

The bigger problem is that you're not handling multi-valued attributes
(alias, affiliation) correctly. For those, depending on what output you
actually want, you'll have to make some changes in the stylesheet.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.novell.com

Please post questions in the forums. No support provided via email.