ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Converting an attribute value into an XML fragment

Subject: Converting an attribute value into an XML fragment
From: "Joel P Thornton" <joelt@xxxxxxxxxxxxx>
Date: Mon, 9 Apr 2001 11:14:30 -0700
xml fragment attribute
I am trying to convert the value of an attribute into an XML fragment in
XSL.  Here is what my XML looks like:

  <row
    title="XMLContent"
    value="&lt;section header=&quot;no&quot;&gt;Testing
testing&lt;/section&gt;introhunk&lt;br/&gt;blah"
  />



So, when converted into an XML fragment, row/@value should look like this:

  <section header="no">Testing testing</section>introhunk<br/>blah


And I would like to have my XSL transform this <row> into something like
this in the XML result tree:

  <item title="XMLContent">
    <section header="no">
      Testing testing
    </section>
    introhunk
    <br/>
    blah
  </item>


I am doing this so I can store XML fragments in a db table, then have those
fragments be merged into the XML result tree of an XML document that
contains references to records within that table.  [Note the choice of an
<item> tag is just for demonstration above.]

Any ideas on how to make this happen?

Thanks ..

joel


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.