U
udupi_mail
I am hoping the answer lies here in this forum.
My input : <?xml version='1.0' encoding='ISO-8859-1'?>
...................................
..........some other elements
Note the single quote encl. attributes
Then I create a DOM and do some other operations and using a
Transformer convert DOM to XML.
However, I've noticed that the attributes are now double quoted instead
of the original single quote? I know that according to the XML spec.
that it is valid. However one of the downstream application requires
the attribute to be single quoted (they dont use a parser )
o/p : <?xml version="1.0" encoding="ISO-8859-1"?>
Is there any workaround to write attributes with single quotes?
TIA,
Guru.
My input : <?xml version='1.0' encoding='ISO-8859-1'?>
...................................
..........some other elements
Note the single quote encl. attributes
Then I create a DOM and do some other operations and using a
Transformer convert DOM to XML.
However, I've noticed that the attributes are now double quoted instead
of the original single quote? I know that according to the XML spec.
that it is valid. However one of the downstream application requires
the attribute to be single quoted (they dont use a parser )
o/p : <?xml version="1.0" encoding="ISO-8859-1"?>
Is there any workaround to write attributes with single quotes?
TIA,
Guru.