From the doc:
preservetype : when set to true sets the PUBLIC and SYSTEM identifiers
to those of the original document
omitHeader : when set to true forces omission of the <?xml...?> header.
Note that the XML spec specifies the header SHOULD be included, but this
is not mandated for XML v1.0
On 15/7/09 13:13, Praveen Kumar Kale wrote:
Hi,
Here am trying to replace the index path "*D:home/target/index*" from
to "*C:home/target/index*" .
Am able to replace the index path but when am running my Build.xml it
is replacing the "DTD" with "<?xml version="1.0" encoding="UTF-8"?>"
*Here is the Result :*
*Before executing the build.xml *
<!DOCTYPE compass-core-configuration PUBLIC "-//Compass/Compass Core
Configuration DTD
2.0//EN""http://www.compass-project.org/dtd/compass-core-configuration-2.1.dtd">
<compass-core-configuration>
<compass>
<setting name="compass.engine.connection">*D:home/target/index*</setting>
<setting name="compass.transaction.isolation">serializable</setting>
</compass>
</compass-core-configuration>
*After executing the build .xml *
* *
* *
<?xml version="1.0" encoding="UTF-8"?>
<compass-core-configuration>
<compass>
<setting name="compass.engine.connection">*C:home/target/index*</setting>
<setting name="compass.transaction.isolation">serializable</setting>
</compass>
</compass-core-configuration>
Am using replace task to replace the Index path , is there any other
way we can replace the index path.
Thanks
Praveen
------------------------------------------------------------------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
------------------------------------------------------------------------
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users
--
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users