Hi all!
I'm developing an application that makes heavy use of the XML/x taglib to parse and
traverse pretty big XML documents in order to generate a page. I also need to be able
to print fragments of the XML verbatim to the page. This, I have not been able to do...
I've tried these ways (assuming the parsed XML document is parsed into $view and I
want to print the <state> element with XML contents/sub-elements) and none have worked.
1. <x:out select="$view/session/state"/> or <x:out escapeXml="false"
select="$view/session/state"/>
This prints just the test elements of the <state> element
2. <x:set var="theState" select="$view/session/state"/><c:out value="${theState}"
escapeXml="false"/>
Can't seem to get this one to work in most variants (probably has something to do with
scopes), but when it does, it prints the same as 1.
I *really* can't do without this, and the xtags library did this so fine with the
<xtags:copyOf> tag! Can it be done?
cheers,
/M�ns
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]