xsl-list
[Top] [All Lists]

Re: passing xml string to xsl

2004-12-09 03:41:30
"Michael" == Michael Kay <mike(_at_)saxonica(_dot_)com> 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

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>