xsl-list
[Top] [All Lists]

Re: [xsl] Transforming XML copied via XSLT

2010-01-27 15:00:38
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?


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


This is a different question needing different answers. You must think
my last thread applies here but it does not.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--