You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jeroen Cranendonk <j....@emaxx.nl> on 2003/03/03 15:28:45 UTC

XML Inclusions (XInclude)

This is a question from a fellow worker :)

----------  Forwarded Message  ----------

Subject: XML Inclusions (XInclude)
Date: Monday 03 March 2003 15:18
From: "Robert Kromkamp" <ro...@emaxx.nl>
To: "Jeroen Cranendonk" <j....@emaxx.nl>

Hi,

I've a question about validation using XMLForms. A pipeline (in the sitemap)
contains the xml schema and namespace validator parameters, in my case:

<map:parameter name="xmlform-validator-schema-ns"
value="http://www.ascc.net/xml/schematron"/>
<map:parameter name="xmlform-validator-schema"
value="schematron/excerpt-sch-report.xml"/>

The excerpt-sch-report.xml validates an address (content.xml) and excerpt
stuff. The same address (content) is used in more pipelines. It would be
great if the xml schema, used to validate the address, could be used again.

I'm thinking of generating a xml file which can validate an address. This
file must be included in all xml schema's which needs to validate addresses.
I've seen XML Inclusions (XInclude) http://www.w3.org/2001/XInclude. I
wonder if XInclude can be used to solve my problem, do you have suggestions?
Or can I use another solution?

Thanks for your time!

Regards,
Robert Kromkamp

-------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org