ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

Question on parsing an encapsulated message

Subject: Question on parsing an encapsulated message
From: Paul <reganmian@xxxxxxxxx>
Date: Fri, 13 Dec 2002 12:21:29 -0800 (PST)
xsl parsing xsd xs
Hi 

Say my style sheet is for a schema(schema-1), but
schema-1 contains a xs:include, refering to other
schema's contents, will the style sheet deal with them
directly ? How can I reach those contents ?
Thanks for yr help

Paul.

==== schema-1 ====
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified"
	attributeFormDefault="unqualified">

	<xs:include schemaLocation = "clientGroup.xsd" />
	<xs:element name="cust-ALIAS"/>
</xs:schema>

 
===== clientGroup.xsd(refer by above schema) ======
<xs:schema>
  <xs:element name="cust-info">
  <xs:complexType>
    <xs:sequence>
	  <xs:element ref="name" minOccurs="0"/>
	  <xs:element ref="email" minOccurs="0"/>
	  <xs:element ref="account" minOccurs="0"/>
	</xs:sequence>
  </xs:complexType>
  </xs:element>
</xs:schema>


==== xsl(this is just testing how to reach
clientGroup.xsd information)====
<xsl:template match="xs:schema">
  <xsl:value-of select="*/@name"/>
  <xsl:for-each select="xs:element">
name<xsl:value-of
select="descendant-or-self::xs:element/@name"/>
recognized.ref<xsl:value-of
select="descendant-or-self::xs:element/@ref"/>
  </xsl:for-each>
</xsl:template>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


Current Thread

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.