Hi,
I have a question regarding xalan, XSL and schemas. Any pointers will be
appreciated. Thanks for any help. Apologize if this is wrong mailing list.
I am trying to generate an XML instance given its XML schema file and a XSL
file using xalan-j_2_2_D7, testing this using java
org.apache.xalan.xslt.Process -in main.xsd -xsl schema.xsl
The transformation works fine except for elements that are defined in .xsd
files outside main.xsd. These are included in main.xsd by means of the
xsd:include.
Do I require a template rule with the document() function, or some other
XSLT/xalan function that recognizes the elements defined by means of
<xsd:include schemaLocation="other.xsd"/> in main.xsd.
Could you please point me to some examples, if thats possible.
Thanks again.
Regards,
Michelle Pinto