RE: [xsl] filter

Subject: RE: [xsl] filter
From: TSchutzerWeissmann@xxxxxxxxxxxxxxxx
Date: Wed, 4 Dec 2002 11:19:50 -0000
Hi Paul

What output do you want from the example you gave? For example, are you just
looking for a way to insert elements into other element by reference, ie,
where an element has a @ref that matches an element's @name, replace the
first one with the one it refers to?

Sometimes an explanation is easier to understand than lots of code and gets
a solution suited to it, rather than one that just works.

regards,
Tom

===== schema =====
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
elementFormDefault="qualified"
attributeFormDefault="unqualified">
	<xs:element name="GRP-Harry-GROUP">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Harry-GROUP-ROW"
maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:element name="SCSMSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="GRP-Harry-GROUP"/>

				<xs:element ref="snoopy-a"/>
				<xs:element ref="snoopy-b"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • RE: [xsl] filter, (continued)
      • Paul - Tue, 3 Dec 2002 10:20:55 -0800 (PST)
        • Joerg Heinicke - Tue, 03 Dec 2002 19:37:25 +0100
        • Paul - Tue, 3 Dec 2002 10:49:24 -0800 (PST)
        • Paul - Tue, 3 Dec 2002 15:29:38 -0800 (PST)
    • TSchutzerWeissmann - Wed, 4 Dec 2002 11:19:50 -0000 <=
      • Paul - Wed, 4 Dec 2002 05:52:36 -0800 (PST)
    • TSchutzerWeissmann - Wed, 4 Dec 2002 15:32:32 -0000
      • Paul - Wed, 4 Dec 2002 10:19:00 -0800 (PST)
        • Paul - Wed, 4 Dec 2002 11:45:02 -0800 (PST)