DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: how to use if tag inside my xml file

  1. #1
    Join Date
    Jan 2011

    how to use if tag inside my xml file

    Hi All,

    From the attached file ruleset.xml, I would like to use Ant "<if>" before each "<rule>" .. How do I achiev it?

    waiting for your answers..

    Attached Files Attached Files

  2. #2
    Join Date
    May 2009
    United Kingdom
    According to the ruleset schema (, the if element is not permitted.
    However, the if element/statement is permitted within ANT (, so my assumption is that with ANT you would need to wrap the processing of your rulesets ( with the if elements/statements, not each individual rule.
    At least from what I can see with the ruleset schema, it is not permitted, although the schema file is not self documented...

Similar Threads

  1. Save XML DOM object to XML file
    By JCGrafted in forum XML
    Replies: 0
    Last Post: 03-09-2010, 12:20 PM
  2. Have large XML file need to sort without xsl
    By NJCapeAdmin in forum XML
    Replies: 2
    Last Post: 08-31-2009, 09:59 AM
  3. Help with an XML file
    By WalstonNet in forum XML
    Replies: 5
    Last Post: 06-22-2009, 12:51 AM
  4. wav file fade in out help
    By jase_dukerider in forum C++
    Replies: 2
    Last Post: 04-14-2005, 07:48 PM
  5. updating xml file from VB6
    By smithg22 in forum VB Classic
    Replies: 9
    Last Post: 04-12-2005, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center