Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by hpdp

  1. hpdp

    how to get the sub sec title in XML

    I tried descendant::title. It put all titles together before contents of all <p>. I also tried to add <center><font color="blue"> <br/><xsl:apply-templates select="sec/title"/> </font></center> <br/> it wrote out all sub sec titles before contents of all <p>. Thanks!!
  2. hpdp

    how to get the sub sec title in XML

    Ok. I took the nested xsl:template out. My code is <xsl:template match="/"> <html> <body bgcolor="#FFFFFF"> <xsl:apply-templates select="//body/sec"/> </body> </html> </xsl:template> <xsl:template match="//body/sec"> <center><font color="blue">...
  3. hpdp

    how to get the sub sec title in XML

    Hi, I have a xml document, <body> <sec sec-type="intro" id="S1"> <title>1. Introduction</title> <p id="P2">The p2</p> </sec> <sec> <title>2. method</title> <sec> <title>2.1 title</title> <p>the 2.1 p</p> <sec> <sec> </body> Here's my XSLT...

Part and Inventory Search

Back
Top