Read about experiences during production, an exhaustive introduction to Xml, Xsd, Xslt, and XPath, or browse the snippet archive from selected from the SharpSpb source code.

  • SharpSpb 101: Xml, Xsd, Xslt, and XPath

    Throughout this site I keep saying this or that X-including acronym is an "international standard". Specifically, these are the international standards adopted by the SharpSpb project in both the Spot-Growth Database information clearinghouse, and the SharpHog Southern Pine Beetle infestation Model:

    • XML - eXstensible Markup Language is a set of rules for structuring information, and files that obey this specification
    • XSD - XML Schema Definitions describe concretely the value-types, ranges, & data-relationships in a particular XML file
    • XSLT - eXtensible Stylesheet Language Transformations style or transform the data in an XML file
    • XPath - XML Path Language is the specification for a shorthand used to traverse and examine an XML tree.
    Continued. . .
    Tuesday, July 14, 2009
  • SharpSpb Xml

    The Spot-Growth Database Administration Application was used to load some 'SPB' and 'ASP' files--old formats of Spot-Visit data, and then save the information from those multiple files as a single SpotGrowth schema Xml file containing every bit of information that was made available--the result SpotGrowth Xml file is a mini-database of verified, from-the-field, data. Right-Click to Save the SpotGrowth Sample Set That data was also saved, using the SGDB Admin app, as Excel format Xml. Windows/Office will recognize a file with this content, named 'anything.xml', as an Excel spreadsheet. Right-Click to Save the Excel Workbook to Your Desktop The SpotGrowth data was then loaded using the other desktop application, the SharpHog Southern Pine Beetle Infestation Model Administration Application. This powertool is ready to

    Continued. . .
    Monday, July 13, 2009
  • Verbosity

    A common, valid, observation concerning Xml is that it takes a significantly greater number of bytes to convey the information. Consider this data file from over at JavaHog. 60199 93 74 74 13 13 24 24 0.22 25.3 13.8 21.1 86.5 32.7 Now, that will certainly take up less room on the floppy disc, but you still have to find a place (disc label maybe) to list what the numbers mean. startDate daysDuration dead infested underAttack withEggs withImm withBrood loblollyRatio pineBA hardwoodBA standAvgDBH longitude latitude First line is integers, second line Double-precision reals. Add the fact that important information is contained in the filenames of each of the dozens of, two-line, files into the

    Continued. . .
    Thursday, July 16, 2009
Check XHTML « spb.xanderlih.com Copyright © Xander Lih 2000-2010  » Check CSS