element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) I found an XML editor (Microsoft Notepad-XML 2007) that seems to work very nicely, however...
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 2 replies
  • Answers 1 answer
  • Subscribers 178 subscribers
  • Views 536 views
  • Users 0 members are here
Related

I found an XML editor (Microsoft Notepad-XML 2007) that seems to work very nicely, however...

billrochat
billrochat over 12 years ago

I found an XML editor (Microsoft Notepad-XML 2007) that seems to work very nicely, however, to edit library files, I needed to place a copy of the "eagle.dtd" file in the directory with the libraries. 

 

I still am not sure I can truxt the editor quite yet, because when load an existing library file into the editor and save it, it generates warnings.

 

The editor cleans up the library file and adds indenting, which makes it real nice for reading and it has collapse and expand capabilites for the tags which really aid in copying sections of code.

 

My problem is that when the editor cleans up the code, it uses the eagle.dtd file as the syntax template, and it ends up inserting parameters which are called out in the eagle.dtd file, but apparently not yet handled by eagle.

 

Specifically, I want to add the EAGLEUP attribute to many of my library devices that have 3d models available.

 

Well, when I do this manually in Eagle, it creates an attribute tag like:

 

<attribute name="EAGLEUP" value="R0805" constant="no"/>

 

When I run the XML editor on it, it expands the tag to:

 

<attribute name="EAGLEUP" value="R0805" constant="no" rot="R0" display="value" />

 

Causing the following type of error when trying to open up the library:

 

Loading C:/Users/Bill/Dropbox/eagle/lbr64/eagleup/passives_test1.lbr ...

 

I get the following message when attempting to open the library file in eagle:

 

Warning(s):

 

line 280: unknown attribute 'display' in tag <attribute>

line 280: unknown attribute 'rot' in tag <attribute>

 

However, if I use the library, it does seem to work, but the warnings bother me enough to make me wary of making further changes.

 

There are other tags which I noticed get expanded with extra parameters based on the eagle.dtd file, but they do not generate any warning messages, so I assume Eagle is handling them okay.

 

Am I seeing a bug, or is there a better way that I can edit the library files?

 

I could modify the eagle.dtd file, but that seems rather risky since I don't know why the extra parameters are declared.

 

Thanks

  • Sign in to reply
  • Cancel
Parents
  • autodeskguest
    0 autodeskguest over 12 years ago

    billrochat wrote:

    I found an XML editor (Microsoft Notepad-XML 2007) that seems to work

    very nicely, however, to edit library files, I needed to place a copy

    of the "eagle.dtd" file in the directory with the libraries.

    ..................................

    I still am not sure I can truxt the editor quite yet,

    Am I seeing a bug, or is there a better way that I can edit the

    library files?

     

    Hi Bill

    For an XML editor you may like to try FOXE which I find is great and it's

    free

    Forget the dtd as its working to much magic.

     

    Warren

     

    --

    Viewed / responded via the newsgroup at

    news.cadsoft.de

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • autodeskguest
    0 autodeskguest over 12 years ago

    billrochat wrote:

    I found an XML editor (Microsoft Notepad-XML 2007) that seems to work

    very nicely, however, to edit library files, I needed to place a copy

    of the "eagle.dtd" file in the directory with the libraries.

    ..................................

    I still am not sure I can truxt the editor quite yet,

    Am I seeing a bug, or is there a better way that I can edit the

    library files?

     

    Hi Bill

    For an XML editor you may like to try FOXE which I find is great and it's

    free

    Forget the dtd as its working to much magic.

     

    Warren

     

    --

    Viewed / responded via the newsgroup at

    news.cadsoft.de

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • billrochat
    0 billrochat over 12 years ago in reply to autodeskguest

    Thanks Warren for the tipoff to FOXE, seems to work nicely.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube