Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - problem with xhtml-tags after transformNode >Thread Next - Re: problem with xhtml-tags after transformNode Re: problem with xhtml-tags after transformNodeTo: NULL Date: 4/10/2008 1:35:00 PM Joerk wrote: > I', trying to transform a xml-file with a node containing xhtml-code. > Here is the part of the schema: > > > <xs:element name="Rechtsmittel"> > <xs:complexType> > <xs:sequence> > <xs:any namespace="http://www.w3.org/1999/xhtml" minOccurs="1" > maxOccurs="unbounded" processContents="lax"/> > </xs:sequence> > <xs:anyAttribute namespace="http://www.w3.org/1999/xhtml"/> > </xs:complexType> > </xs:element> > > When declaring the node as: > > <Nodename> The schema says "Rechtsmittel" not "Nodename". > <div xmlns="http://www.w3.org/1999/xhtml"> > <p><STRONG>Rechtsmittelbelehrung</STRONG></p> Note that XHTML defines an element named 'strong' but not an element named 'STRONG'. > ... more xhtml ... > </div> > </Nodename> > > I get only the text, without any formatting, table etc. > > When writing the node content as CDATA, I get the xhtml-code as is > into my document. > > How can I manage it, to get the paragraphs, tables and formattings as > defined in xhtml ? Can you show us the stylesheet? I assume you are using one as the subject mentions transformNode. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
