This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Transforming an XML document linked to a XML schema
- From: "Purnima Fernando" <Purnima dot Fernando at TodaySystems dot com dot au>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 30 Jan 2002 09:06:10 +1100
- Subject: [xsl] Transforming an XML document linked to a XML schema
- Reply-to: xsl-list at lists dot mulberrytech dot com
I have created an XML document of the form:
<?xml version="1.0" encoding="ISO-8859-1"?>
<bpxml version="1.0">
...
</bpxml>
I have also created and XML schema for this document which I associate with
the XML document as such:
<?xml version="1.0" encoding="ISO-8859-1"?>
<bpxml version="1.0" xmlns="http://www.todaysystems.com.au"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.todaysystems.com.au
BuildProObjects.xsd">
...
</bpxml>
The schema is fine and once associated, the XML document is valid.
I have also created a XSL style sheet to apply to this document.
The problem is that if apply the style sheet to the document with the Schema
information in it. It does not perform the transformation. But once I remove
the schema information it works fine.
Regards,
Purnima Fernando
Project Manager - Mobile Internet Development
TODAY Systems, Inc.
http://www.todaysystems.com.au/
Tel +61-3-9536 3900 - Fax +61-3-9536 3901
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list