简体   繁体   中英

Can you run xmllint within eclipse to validate xml and dtd files?

Is it possible to run xmllint inside Eclipse or Motodev? If so can someone show me? I would like to validate my DTD and XML files. Thanks.

Use the following steps to run xmllint in Eclipse:

  • Click Run > External Tools > External Tools...
  • Select the Program configuration
  • Click the New button
  • Enter a name for your external tool (xmllint in this case)
  • Click the Browse File System button
  • Find the xmllint executable
  • In the Arguments field, enter the necessary arguments (XML file name)
  • In the Working Directory field enter the working directory (XML file path)
  • Click Run

Ant can be configured to run these steps automatically for future reference.

References

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM