You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Esther Parrilla Endrino <es...@deimos-space.com> on 2003/09/15 18:43:39 UTC

Namespace support in Xalan?

Hi all,

I have an xml file that I want to transform into html using Xalan.
This file includes in its root tag the reference of the schema that 
validates it, and the namespace used for the file.
When I try to transform the file I always get an erroneus output...but 
if I delete the references to schema and namespace from the root tag 
then the tranformation is OK... Does Xalan have to be configured in a 
special manner to support transforming XML files with schema references 
and namespaces?
Do I have to reference in my XSL the XML tags in a special way such as 
 'namespace:tag' or something like that?

Thanks in advance,

regards,
e*

-- 

~ Code matters more than comercials ~

--



Re: Namespace support in Xalan?

Posted by Esther Parrilla Endrino <es...@deimos-space.com>.
Thanks a lot for the reply, now it works fine!!! :)
david_n_bertoni@us.ibm.com wrote:

>
>
>Hi,
>
>It's not Xalan that needs to be configured correctly -- your stylesheet
>must be written properly.
>
>See these FAQs:
>
>
>   http://www.dpawson.co.uk/xsl/sect2/N5536.html#d5145e544
>   http://xml.apache.org/xalan-j/faq.html#faq-N101DC
>
>Dave
>
>
>
>|---------+---------------------------------->
>|         |           Esther Parrilla Endrino|
>|         |           <esther.parrilla@deimos|
>|         |           -space.com>            |
>|         |                                  |
>|         |           09/15/2003 09:43 AM    |
>|---------+---------------------------------->
>  >----------------------------------------------------------------------------------------------------------|
>  |                                                                                                          |
>  |        To:      xalan-c-users@xml.apache.org                                                             |
>  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                     |
>  |        Subject: Namespace support in Xalan?                                                              |
>  >----------------------------------------------------------------------------------------------------------|
>
>
>
>Hi all,
>
>I have an xml file that I want to transform into html using Xalan.
>This file includes in its root tag the reference of the schema that
>validates it, and the namespace used for the file.
>When I try to transform the file I always get an erroneus output...but
>if I delete the references to schema and namespace from the root tag
>then the tranformation is OK... Does Xalan have to be configured in a
>special manner to support transforming XML files with schema references
>and namespaces?
>Do I have to reference in my XSL the XML tags in a special way such as
> 'namespace:tag' or something like that?
>
>Thanks in advance,
>
>regards,
>e*
>
>--
>
>~ Code matters more than comercials ~
>
>--
>
>
>
>
>
>  
>


-- 

Esther Parrilla Endrino
Ground Segment Systems Division
e-mail: esther.parrilla@deimos-space.com
tel:  	00 34 91 806 34 57

DEIMOS SPACE S.L.
Ronda de Poniente 19, Edificio Fiteni VI
Tres Cantos (Madrid)
http://www.deimos-space.com


~ Code matters more than comercials ~

--



Re: Namespace support in Xalan?

Posted by da...@us.ibm.com.



Hi,

It's not Xalan that needs to be configured correctly -- your stylesheet
must be written properly.

See these FAQs:


   http://www.dpawson.co.uk/xsl/sect2/N5536.html#d5145e544
   http://xml.apache.org/xalan-j/faq.html#faq-N101DC

Dave



|---------+---------------------------------->
|         |           Esther Parrilla Endrino|
|         |           <esther.parrilla@deimos|
|         |           -space.com>            |
|         |                                  |
|         |           09/15/2003 09:43 AM    |
|---------+---------------------------------->
  >----------------------------------------------------------------------------------------------------------|
  |                                                                                                          |
  |        To:      xalan-c-users@xml.apache.org                                                             |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                     |
  |        Subject: Namespace support in Xalan?                                                              |
  >----------------------------------------------------------------------------------------------------------|



Hi all,

I have an xml file that I want to transform into html using Xalan.
This file includes in its root tag the reference of the schema that
validates it, and the namespace used for the file.
When I try to transform the file I always get an erroneus output...but
if I delete the references to schema and namespace from the root tag
then the tranformation is OK... Does Xalan have to be configured in a
special manner to support transforming XML files with schema references
and namespaces?
Do I have to reference in my XSL the XML tags in a special way such as
 'namespace:tag' or something like that?

Thanks in advance,

regards,
e*

--

~ Code matters more than comercials ~

--