Jump to content

ReddetEkim

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

1 Neutral

About ReddetEkim

  • Rank
    Newbie
  • Birthday 02/11/1953

Profile Information

  • Location
    Chicago, IL
  1. Actually, none of the subordinate items are appearing. When I added another select for the subordinate items, the original, superior items were no longer displayed. Code is included below. Thanks for any help you can provide. XSL file: <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/"><html><head><title>Mexican States and Capitals</title><!-- <link rel="stylesheet" type="text/css" href="Test.css" /> --></head><body><h1>Mexican
  2. Hi. After a lot of studying I've learned how to create valid xml schemas and data files, and I've been able to display some of that data on a web page but not all of it. For example, if there are multiple <city> nodes under a <state> node, I've been able to display all of the state nodes in the file using "for-each select" and "value-of select", but only the first city in each state; none of the other cities. How do I display multiple items at a subordinate level like cities in a state? Thanks.
  3. I think one of my problems was a missing </xs:element> since I have two simple elements. But then I got the following error: The following errors were found: TYPE LOC MESSAGE Well Formed 14, 11 The element type "xs:sequence" must be terminated by the matching end-tag "‹/xs:sequence>". I thought I had everything matched up. Sheesh!
  4. Hi. I'm new to XML/Schema. I'm trying to learn a little bit about it for my own information and maybe to incorporate it into a web page. It seems correct to me but almost everything I try ends up with an error. Could someone please tell me what I'm doing wrong? Thanks a lot for any assistance. XML Schema: <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="[url="http://www.w3.org/2001/XMLSchema"]http://www.w3.org/2001/XMLSchema[/url]"> <xs:element name="root_element"> <xs:complexType> <xs:sequence> <xs:element name="president"> <
×
×
  • Create New...