It's my understanding that this type of activity isn't supported by Xalan - you 
need to either convert the types yourself or use some third party tools like 
RogueWave, XMLSpy or the like.

-----Original Message-----
From: Arunkumar Halebid [mailto:[EMAIL PROTECTED] 
Sent: 12 January 2005 09:17
To: xalan-c-users@xml.apache.org
Subject: RE: Xsl help

Hello,

With a problem to map xml data type to c/c++ data type, I started schema
parsing.

- During schema parsing(DOM api's), I encounter something like below:
        <xs:attribute name="name" type="xs:string" use="required"/>
 
- is there a way/api to get corresponding C/C++ data type ? Here the
'string' type for name to become say 'char*' ?
- what about complex types in xsd?

Or should I use some xslt approach before trying to map xml data types to
c/c++

- arun

-----Original Message-----
From: Eric Pailleau [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 5:03 PM
To: xalan-c-users@xml.apache.org
Subject: Re: Xsl help

Eric Pailleau wrote:
> Arunkumar Halebid wrote:
> 
>> Hello,
>>
>> * In the xsl I set the output method to text. Within the style sheet 
>> I am trying to include some string also as output, apart from node 
>> values of the input xml.
>>
>> * I do not see any text output in the resulting transformation. Where 
>> am I doing a mistake?
> 

Addendum :

Don't forget to use also 'comment()' if you want to display the comment !

text() is useful when text and tags are nested together.
node() allow to manipulate the complete node.

Bonne journée.

Eric

Reply via email to