Tom Studer's Home Page
[ start | index | login ]
start > XML Stuff

XML Stuff

Created by tom. Last edited by tom, 6 years and 181 days ago. Viewed 467 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

XML Includes

(From >>http://ant.apache.org/ant_in_anger.html)

<!DOCTYPE project [
  <!ENTITY propertiesAndPaths SYSTEM "propertiesAndPaths.xml">
  <!ENTITY taskdefs SYSTEM "taskdefs.xml">
]>

&propertiesAndPaths; &taskdefs;

XML Schema Validation in Ant

<target name="validate">
	<xmlvalidate file="../conf/workbench.xml" lenient="false"
  		failonerror="true" warn="true">
  		<attribute name="http://apache.org/xml/features/validation/schema" value="true"/>
  		<attribute name="http://xml.org/sax/features/namespaces" value="true"/>
  		<property name="http://apache.org/xml/properties/schema/external-schemaLocation"
  				value="http://workbench.jibx.v2.swidGKC.ubs.com file:/c:/workbench.xsd"/>
	</xmlvalidate>
</target>
no comments | post comment
mouse_cartoon



< May 2012 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031

snipsnap-help | More Help

Powered by SnipSnap 1.0b2-uttoxeter

Describe here what your SnipSnap is about!

Configure this box!

  1. Login in
  2. Click here: snipsnap-portlet-2
  3. Edit this box
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt