[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: filter

Subject: RE: filter
From: TSchutzerWeissmann@xxxxxxxxxxxxxxxx
Date: Wed, 4 Dec 2002 11:19:50 -0000
re filter
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: filter, (continued)
      • Paul - Tue, 3 Dec 2002 13:15:45 -0500 (EST)
        • Joerg Heinicke - Tue, 3 Dec 2002 13:31:54 -0500 (EST)
        • Paul - Tue, 3 Dec 2002 13:44:15 -0500 (EST)
        • Paul - Tue, 3 Dec 2002 18:24:26 -0500 (EST)
    • TSchutzerWeissmann - Wed, 4 Dec 2002 06:15:23 -0500 (EST) <=
      • Paul - Wed, 4 Dec 2002 08:47:22 -0500 (EST)
    • TSchutzerWeissmann - Wed, 4 Dec 2002 10:28:01 -0500 (EST)
      • Paul - Wed, 4 Dec 2002 13:13:48 -0500 (EST)
        • Paul - Wed, 4 Dec 2002 14:39:48 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.