File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to parse XML using special character / using Transform

ravichandra lvsr
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using javax.xml.transform.Transformer to transform XML using XSLT.
In one of the attribute name has special characters '/'. And it is failing with error "Attribute name "XXX" associated with an element type "XXXXXXX" must be followed by the ' = ' character". If I remove / in attribute name, XML is getting parsed. But it is not correct fix. We need to omit this special character while transforming XML. Please suggest.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic