troubleshooting Question


Avatar of Larry Brister
Larry BristerFlag for United States of America asked on
XML.NET ProgrammingMicrosoft Development
3 Comments1 Solution416 ViewsLast Modified:
I have an xslt which is working for the root
There are a TON of fields in the root...and a couple of child nodes  for Education
My xml file starts of with <root>
Then a bunch of root nodes code starts of with this
<xsl:stylesheet version="1.0" xmlns:xsl="">
    <xsl:template match="/">
                <link rel="stylesheet" type="text/css" href="test.css"/>
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="masterTable">

    <xsl:template match="root">
<DIV style="margin-bottom:20px;">
                <td class="myTD">
                    <fieldset class="myFieldSet">
                        <legend class="legendTitle">General Information</legend>
                        <table cellpadding="0" cellspacing="0" border="0" class="generalDescr">
                                <td style="font-size:12px;">
                                    <strong style="width:120px;">Name:</strong>&#160;<xsl:value-of select="FirstName"/>&#160;<xsl:value-of select="MiddleInitial"/>&#160;<xsl:value-of select="LastName"/>&#160;&#160;&#160;&#160;&#160;<strong>Goes by:</strong>&#160;<xsl:value-of select="PrefName"/>

whole bunch of stuff that works...

I now have to put repeating child node information for
            <SchoolName>Delgado CC</SchoolName>

The following is not working...
No error...just no data

   <td style="width:150px;">
         <xsl:value-of select="root/Education/School/SchoolName"/>

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros