Re: [XSL] - Avoiding a piece of xml to be processed
maybe not the most elegant solution:
you can construct the tag in CDATA. If you have problems with the output
of <: Have you tried: <xsl:text
Hope that helps,
Rocchi Cesare schrieb:
> I'm trying to do some transformation that doesn't succeed as I
> I have some piece of xml which I don't want to be *absolutely*
> changed, because
> it has been carefully written. e.g. in the following code
> <tag att1='val1'/>
> I don't want "tag" to be processed because the processor (I use
> XALAN-J) changes
> it by substituting the single quote with the double one, and I want to
> avoid this transformation. I tried to put tag in CDATA but it
> transforms the "<"
> in the corresponding entity < and I want to avoid also this too.
> How can I specify in the XSL file that a given tag has to be left
> I tried also <xsl:copy-of> but the copy change the single quote.
> As alternative, isn't possible to set the "quote for attributes" a
> single quote in the transformer or serializer or, in general, the
> Thanks in advance
|All times are GMT. The time now is 02:23 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.