[xsl] A colon is not allowed in the name

Subject: [xsl] A colon is not allowed in the name
From: "SINGH Navpreet" <navpreet.singh@xxxxxxxxxxxxxx>
Date: Wed, 25 Mar 2009 15:24:47 +1100
Hi,

I am transforming xml to PDF using FOP with
"javax.xml.transform.Transformer". Transformer results into an error
when it tries to transform following element.

<header type="new">
       <?QM: GENERATOR [Ref] 10055: ParaHeading: NEW?>Generate New Data
</header>

Here is the error:

ERROR:  'A colon is not allowed in the name 'QM:' when namespaces are
enabled.'

I cannot delete the <?QM: GENERATOR [Ref] 10055: ParaHeading: NEW?> part
of xml. So how can I overcome this parsing problem.

Thanks,
Navpreet.

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are not,
or believe you may not be, the intended recipient, please advise the sender
immediately by return e-mail, delete this e-mail and destroy any copies.
The Company does not warrant nor guarantee that this email communication is
free
from errors, virus, interception or interference.

Current Thread