|
Subject: Re: [xsl] XML/XHTML fragment to text From: christoph.naber@xxxxxxxxxxxxxxxxxxx Date: Fri, 10 Aug 2007 09:20:01 +0200 |
Hello Alain,
> give a legacy application (non-XML/XHTML aware)
If your application isn't aware of XML, why don't you feed it with just
the XML fragment as is? Its already text, so the application won't do
anything and hand it back to your weblication. I don't see the benefit of
your transformation.
When I run your stylesheet, output is the same as input. Could you supply
some desired output?
> XML fragment :
>
> <fragment>
> <div>Any XML/XHTML <span style="color:black">elements with attributes
> also</span> or empty tags <br/> and empty tags with attributes <hr
> style="color:white"/></div>
> </fragment>
The Output (done with XSLTPROC):
<div>Any XML/XHTML <span style="color:black">elements with attributes
also</span> or empty tags <br/> and empty tags with attributes
<hr style="color:white"/></div>
> So my question is : do you think there is a simpler way of fulfilling
> the same function
What function?
BTW: element() won't work for me, I had to take "node()" instead.
Greetings
Christoph
If you are not the intended addressee, please inform us immediately that you
have received this e-mail by mistake and delete it. We thank you for your
support.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] XML/XHTML fragment to text, Alain | Thread | Re: [xsl] XML/XHTML fragment to tex, Abel Braaksma (onlin |
| Re: [xsl] XSLT merge documents into, Mukul Gandhi | Date | Re: [xsl] XML/XHTML fragment to tex, Abel Braaksma (onlin |
| Month |