Re: [xsl] value-of select with two different namespaces

Subject: Re: [xsl] value-of select with two different namespaces
From: Jeff Sese <jeferson.sese@xxxxxxxxxxxx>
Date: Mon, 14 Jul 2008 14:53:36 +0800
XSLT involves trees, therefore before it starts the transformation, the input must be parsed into a tree. So if you have entities, these must be resolved against their definitions.

Read through these:

http://www.dpawson.co.uk/xsl/sect2/N3573.html

Your problem is pretty much discussed there.

Hope this helps.

-- Jeff

On 07 14, 08, at 1:40 PM, V.Ramkumar wrote:

Dear Jeff.

Yes my xml has the entity declaration &kappa;

1. I like to know when transforming input xml file is parsing against DTD?
2. Can we transform without DTD definitions and parsing.
3. I want the content (including entity) as it is in output XML.


Please help me.

Regards,
Ramkumar
Software - Digital Services Division,
Macmillan India Ltd.- Chennai 600 018.


-----Original Message----- From: Jeff Sese [mailto:jeferson.sese@xxxxxxxxxxxx] Sent: Monday, July 14, 2008 10:44 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] value-of select with two different namespaces

The error means that somewhere in your source, you are using an
entity &kappa; but the the parser can't find the declaration for it.
Make sure the that the parser can find the definition of that entity.

-- Jeff

On 07 14, 08, at 12:42 PM, V.Ramkumar wrote:

Hi Friends,

I am using saxon9 for XSL(v2.0) Transform One XML to another.

I am getting below error for entity.

	"Error on line 61 column 53 of input.xml:
	SXXP0003: Error reported by XML parser: The entity "kappa" was
referenced, but not declared.
	Transformation failed: Run-time errors were reported"

Please give your suggestion.

Regards,
Ramkumar


Jeferson L. Sese jeferson dot sese at asiatype dot com Asiatype Inc. Suite 114 Columbia Tower Ortigas Ave., Greenhills Mandaluyong City 1550 Philippines Tel: +632-744-6262 Mobile: +63927-671-7901




Jeferson L. Sese jeferson dot sese at asiatype dot com Asiatype Inc. Suite 114 Columbia Tower Ortigas Ave., Greenhills Mandaluyong City 1550 Philippines Tel: +632-744-6262 Mobile: +63927-671-7901

Current Thread