Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
| Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 19th, 2004, 09:23 PM
lxu lxu is offline
Authorized User
Join Date: Oct 2003
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transform .xsd files to a .xml file

There are several schema files, one schema file includes several other schema files. For example,
 <xs:include schemaLocation="C:\myCodes.xsd"/>. I would like to transform the schema files into a xml file.

How can I use xslt to get the nodes and attributes which are in the included files? I have tried to use <xsl:foreach select="document(myCodes.xsd)\xs:complexType") and I could not get it work.

Thanks in advance.


Similar Threads
Thread Thread Starter Forum Replies Last Post
transform csv file to xml David Li XSLT 8 December 11th, 2012 04:57 AM
Creating an XML file from XSD squatss C# 4 January 16th, 2007 08:41 AM
Can 1 xslt transform an xml doc into 2 text files Raju Sarode XSLT 7 November 3rd, 2006 04:10 PM
Merging XSD files in one XSD file by using what? haoxuqian XML 1 November 4th, 2005 01:42 PM
Validating Xml files with XSD file ShaileshShinde VB.NET 2002/2003 Basics 1 September 12th, 2005 07:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.