[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Transforming XML copied via XSLT

Subject: Re: [xsl] Transforming XML copied via XSLT
From: Rob Belics <rob_belics@xxxxxxxxxxx>
Date: Wed, 27 Jan 2010 14:59:04 -0600

On Wed, 2010-01-27 at 14:21 -0500, List Owner wrote:
> It would be far easier to answer your question if you supplied examples of:
>    1. your source XML
>    2. the target of the transform (in this case, the HTML you want)
>    3. the code you have, so we can see why you aren't getting the
>       results you want.
> You seem to have supplied source XML, but we don't know from your 
> message exactly what you want to transform it into.
> I suggest re-posting your question with some additional information.
> -- Tommie
> >In an earlier thread, I successfully 'copy-of'ed some XML into an
> >existing file through the browser. I may have gotten ahead of myself,
> >though. My goal is to take the copied data and create HTML links in a
> >web page. The web page has other HTML elements and works well otherwise
> >but I don't immediately know how to do this.
> >
> >Essentially, I have this:
> ><menu>
> >	<sandwiches>
> >		<html:h1>Sandwiches</html:h1>
> >		<xsl:copy-of style="document('http://mysite.com/food')">
> >	</sandwiches>
> ></menu>
> >
> >Please bear with my experimenting.
> >The copied XML data needs to be transformed into links and form <input>
> >but I don't know if that can be done here. Can someone point me in the
> >right direction, tips, hints and all that?
This is a different question needing different answers. You must think
my last thread applies here but it does not.

Current Thread