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

Re: passing xml string to xsl

Subject: Re: passing xml string to xsl
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 09 Dec 2004 10:41:30 +0000
display xml string
>>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:

    >>  I want to pass XML into XSL and then use it in templates.I've
    >> passed to my XSL, XML string using xsl:param
    >> 
    >> <xsl:param name="VisibleColumnsConfigXML"/>
    >> 
    >> Now, in this parameter I've got XML string. I can display XML
    >> in VisibleColumnsConfigXML parameter like this
    >> 
    >> <xsl:value-of select="$VisibleColumnsConfigXML"/>
    >> 
    >> But I want to access XML in VisibleColumnsConfigXML like node
    >> list, not string. How to do it ?
    >> 

    Michael> You can't parse a string containing lexical XML and turn
    Michael> it into a tree structure using any standard XSLT
    Michael> construct.

Well, you can - the document function does this - provided the
processor's URI resolver supports the data URI scheme.
-- 
Colin Paul Adams
Preston Lancashire

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.