cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertold Reddemann" <>
Subject Validating a schema during stylesheet processing
Date Thu, 14 Feb 2002 07:55:27 GMT
Hi, I just installed cocoonand tried to run a simple transformation
together with XINCLUDE. It worked well for astart, but I have two

- I didn't find any possibility to do schema validation of the input XML /
XML generated with XINCLUDE, which is input for the stylesheet ?.

- Is there a possibility to write the result of the stylesheet operation or
XINCLUDE to a file.?

Thank you,

To give you an impression of the source and sitemap:


   <map:match pattern="xinc/newfld">
     <map:generate src="xinc/newfld.xml"/>
     <map:transform type="xinclude"/>
     <map:transform src="xinc/newFld.xsl"/>

Main input source with schema information

<?xml version="1.0"?>
<!--?cocoon-process type="xslt"?-->
<!--?xml-stylesheet href="../stylesheets/newFld.xsl" type="text/xsl"?-->
<Field xmlns:xsi=""
     GID="AAMPAN" Name="EU2_AMT_WF" Encoding="no" Version="1">
<xi:include href="newFld.flddoc"/>
<xi:include href="Smallinteger.dtxml"/>
          <xi:include href="AG545R.setxml#xpointer(/Set/Name)"/>
          <xi:include href="AG545R.setxml#xpointer(/Set/DataType)"/>

Kind regards / Mit freundlichen GrĂ¼ssen
Bertold Reddemann

CIC Host Development  - Dept. 5075,  Addr.: 71032-01
IBM Development Laboratory Boeblingen, Germany
Tel: 0049(0)7031 16-2087,  Fax: - 3980, @:

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message