[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Jacobus Reyneke wrote:
I don't think it is a good approach to store markup in attributes but if you want to parse it with Saxon 9 (any 9.1 or the commercial 9.2 versions) then use the saxon:parse extension function
http://www.saxonica.com/documentation/extensions/functions/parse.html
--
Re: [xsl] Evaluating XML inside attributes (using XSLT 2.0 and Saxon)
Subject: Re: [xsl] Evaluating XML inside attributes (using XSLT 2.0 and Saxon) From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 24 Mar 2010 19:47:22 +0100 |
Jacobus Reyneke wrote:
Good day,
This is in relation to my earlier posts, but I have not yet been able to solve my problem. I have tried working around the problem below, but because of the type of information I'm working with (labeling and vector graphics), I can't get past the fact that sometimes I end up with attributes that will get part of their content from other parts of the XML document.
Can anyone please share some ideas around evaluating information for use inside xml attributes. I know it's ugly, horrible and terrible to escape XML an dump it inside an attribute, but I need to reference content by id from inside attributes from time to time. I can move attributes out into child elements, but this can become even more confusing.
I don't think it is a good approach to store markup in attributes but if you want to parse it with Saxon 9 (any 9.1 or the commercial 9.2 versions) then use the saxon:parse extension function
http://www.saxonica.com/documentation/extensions/functions/parse.html
--
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Evaluating XML inside att, James Fuller | Thread | Re: [xsl] Evaluating XML inside att, Jacobus Reyneke |
Re: [xsl] Evaluating XML inside att, James Fuller | Date | [xsl] Recursively traversing an out, Martynas Jusevicius |
Month |
Keywords