Subject: Re: [xsl] problem with processing CDATA tags in xml From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 08 Apr 2010 13:32:26 +0100 |
Ok....
I need to clarify one thing...
Their product schema does not allow a<Value> to have subtags...
That's why they use CDATA.
And in my opinion that's not so bad since from a data point of view these html tags are pure a rendition thing.
But basically I see 2 options from the responses:
(1): Use cdata-sections attribute on<xsl:output> (2): make changes to the schema for all elements which may have html tags as children
I still see a problem with (1)... in the end when serializing to html I still want to disable-output-escaping so the browser will recognize<sub> and<sup> as tags instead of plain text... but then the greater then '>' will result in invalid xml.
And I'm not sure if (2) will be accepted since this will involve quite a bit of work to implement the changes.
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] problem with processing C, Martin Honnen | Thread | RE: [xsl] problem with processing C, Michael Kay |
Re: [xsl] problem with processing C, Martin Honnen | Date | RE: [xsl] problem with processing C, Robby Pelssers |
Month |