[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Outputting a complete schema definition??
Hi,
I am new to XSL. Apologies if this is very basic question; At a high level I have an XML schema and an XML file. I want to extract specific data from the XML file and add it to the schema(extend the schema) using XSLT(dynamic schema extension to an extent). Extracting the data from the XML file is ok, the problem I am having is outputting all of the schema(i.e. all of the tags + information) to my result file. E.g. XSD input file (sample) <schema> <schema xmlns = "http://www.w3.org/2001/XMLSchema" targetNamespace = "xxxxxxxxx" version = "3.5"> <include schemaLocation = "xxxxx"/> <element name = "xxxxx"> <annotation> <documentation> Example of the information contained within the schema </documentation> </annotation> <complexType> <sequence> <element ref = "xxx" maxOccurs = "unbounded"/> <element ref = "xxx" minOccurs = "0"/> </sequence> <attribute name = "docId" use = "required" type = "string"/> </complexType> </element> .... </schema>
My output just prints the 'info' within the schema; 'Example of the information contained within the schema' How do I get it to output all of the schema complete with all its tags??? What function should I look at in order to do this? BR, Chris.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|