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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. danylo13

    Adding formatting inside a paragraph

    Hi, my XML tree currently looks like this: <Header> <Body> <Text></Text> <Subheader> <Body> <Text></Text> </Body> </Subheader> </Body> </Header> I basically parse this XML file to display a html document which will have the form: Header // some text here...
  2. danylo13

    Looping through multiple elements

    yes it did. thanks!
  3. danylo13

    Is it proper to use css files in XSL?

    well the thing I wasn't sure about was that I know you use css to format html pages and xsl to format xml pages.. so if I wanted to transform a xml file to html using xsl is there some way to embed css files in there (for stuff like table borders, font, etc.)
  4. danylo13

    Looping through multiple elements

    here is the sample for my xml.. <Page> <TOC> <Header>Introduction <Subheader>Purpose</Subheader> <Subheader>Overview</Subheader> <Subheader>Scope</Subheader> <Subheader>Target Audience</Subheader> <Subheader>Document Organization</Subheader>...
  5. danylo13

    Is it proper to use css files in XSL?

    Hi, I'm just wondering if it is a proper practice to link css files to XSL files. For example, I want a special formatting class for my table. If so, how do you add it to the XSL file? Thanks.
  6. danylo13

    Looping through multiple elements

    Hi, that works for the subheader part. But for header what happens when I use the "." is that it prints out the header's name plus all of its subheader's names. <xsl:for-each select="Page/TOC/Header"> <tr> <td><xsl:value-of select="." /></td>...
  7. danylo13

    Looping through multiple elements

    Hi, I'm new to XML and what I have an XML document with the following strucure: <TOP> <Header> <Subheader> ... <Subheader> </Header> ... <Header> <Subheader> ... <Subheader> </Header> </TOP> What I'm trying to do is loop through each header and print out all the subheaders it has...

Part and Inventory Search

Back
Top