• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. XML Parser

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 17336
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XML Parser

Curtisma
Curtisma over 7 years ago

What's the best way to parse an XML file into a SKILL or SKILL++ data structure?

I found an old post, listed below, on parsing xml files using xsltproc.  However I am receiving errors about the xslt file when I test it on an example xml file.  Is there an updated version of this xslt file available?

https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/12948/xml-in-skill/19209#19209

I've also seen suggestions that a LISP xml parser be used.  Does anybody have any experience with going this route?  Have you tried to use the closure xml parser for it?

common-lisp.net/.../

-Curtis

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Curtis,

    There are some internal (private) SKILL APIs to read XML, but they're not public (one is based on a LISP xml parser). So nothing public for now.

    The XSLT file got mangled by the forum display (quotation marks mainly). So I edited the post you're referencing and attached the original file as an attachment (at the bottom). Give that a try...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Curtis,

    There are some internal (private) SKILL APIs to read XML, but they're not public (one is based on a LISP xml parser). So nothing public for now.

    The XSLT file got mangled by the forum display (quotation marks mainly). So I edited the post you're referencing and attached the original file as an attachment (at the bottom). Give that a try...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Curtisma
    Curtisma over 7 years ago in reply to Andrew Beckett

    Thanks Andrew!  I just ran xsltproc with the fixed xslt file and no longer see any errors.  I'll try the rest of the process now.

    Any comments on the best way to write an XML file?

    In that same post you provided an option, abHtml.ils.  Would you still suggest using it?  If so, have you made any updates to it?

    Thanks,

    Curtis

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Curtisma
    Curtisma over 7 years ago in reply to Andrew Beckett
    Andrew Beckett said:
    There are some internal (private) SKILL APIs to read XML, but they're not public (one is based on a LISP xml parser). So nothing public for now.

    Are they truly private or just undocumented?  Could I still use them at my own risk?

    -Curtis

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Curtisma

    Hi Curtis,

    First of all, I updated the other post to add the abHtml.ils file as an attachment - because the code contains HTML tags, it got mangled slightly. The version is the same, but the formatting of the forum site broke the code.

    The APIs are actually developed by my team - they are both private and undocumented. They were added for a specific application, and may at some point in the future be ready for mainstream use, but I think I'd be reluctant to suggest that you use them now.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information