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 Westi 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. shamesvoice

    turning an XML tree somewhat upside-down

    Thanks. It works fine. No mea culpa necessary, just a caveat emptor, which is understood when writing to such a forum. I'm just glad you could help me (and others). What remains is mostly styling with CSS. I might still have a question, you never know. If you're ever in the country... Thanks again.
  2. shamesvoice

    turning an XML tree somewhat upside-down

    Done. And I see the logic to it. It's parallel to other sections. But it doesn't change my HTML output. (Still no display of...) If you'd like to know or see more, please tell me.
  3. shamesvoice

    turning an XML tree somewhat upside-down

    Hello. I follwed your suggestion concerning "<xsl:call-template>." I have added some embedded lists to the templates, as you will see. But I still have one problem. None of the content of "InfraspecificRank_1," "InfraspecificEpithet_1" or "AuthorYearOfInfraspecificEpithet_1" (or _2, _3, etc.)...
  4. shamesvoice

    turning an XML tree somewhat upside-down

    Thanks, I chaged my DTD, based on a previous tip, to: <!DOCTYPE Chrysidoidea [ <!ELEMENT Chrysidoidea (item*)> <!ELEMENT item (id, ScientificName, SpecificEpithet, AuthorYearOfScientificName, VernacularName?, Superfamily, Family, VernacularNameOfFamily?, Subfamily?, Genus...
  5. shamesvoice

    turning an XML tree somewhat upside-down

    OK, you're probably right. I borrowed my DTD from an older version, and apparently I need to tighten it up. Thanks for the tip.
  6. shamesvoice

    turning an XML tree somewhat upside-down

    OK, Tom, I replaced <ul class="SynGen"> <xsl:if test="string-length(SynonymOfGenus_1) &gt; 0"> <li class="nodot"> <span class="SynonymOfGenus_1"><xsl:value-of select="SynonymOfGenus_1" /></span> <span...
  7. shamesvoice

    turning an XML tree somewhat upside-down

    Hello Tom (and anyone else), I've been away for a few weeks. Your advice works fine. Now I'd just like to ask if my .xsl-file is efficient. The original xml-file is at: http://www.nev.nl/hymenoptera/chrysidoidea_zonder.xml . The .xsl-file is at: http://www.nev.nl/hymenoptera/chrys_temp2.xsl ...
  8. shamesvoice

    turning an XML tree somewhat upside-down

    Thanks Tom, Bull's-eye! This is something I can build on. If I have any more questions, I'll ask them here or in a new thread.
  9. shamesvoice

    turning an XML tree somewhat upside-down

    Thanks Tom, I'll try it out and let you know. Any other suggestions are still welcome.
  10. shamesvoice

    turning an XML tree somewhat upside-down

    Hello everyone, Thanks for your help. I've had the most luck with the last suggestion, by JontyMC. But I now realize that the structure of my XML is slightly more complicated tan I first stated. (If the others want to think along, please do.) "Chrysidoidea" is indeed the root. Every "item" has a...
  11. shamesvoice

    turning an XML tree somewhat upside-down

    Thanks for your advice. I'll see if I can use it. I hope I can answer your question. As you can see, all the information about a single insect is stored as children of the element "item." I want to turn it into a different hierarchy, or tree, from family down to species. I want to avoid any...
  12. shamesvoice

    turning an XML tree somewhat upside-down

    Using XSLT and XPath, of course.
  13. shamesvoice

    turning an XML tree somewhat upside-down

    Hello, I'm a biologist. I've exported a MySQL database as XML. The result is in the order of: Superfamily, family, (subfamily) genus, specific epithet. An example of my XML file is: <Chrysidoidea> <item> <Family>Bethylidae</Family> <Subfamily>Bethylinae</Subfamily>...

Part and Inventory Search

Back
Top