Re: XTAGS Problems with node names that begin with a leading underscore
Kris Schneider <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
Seems to work for me. Here's my test:
<%@ page contentType="text/plain" %>
<%@ taglib prefix="xtags" uri="http://jakarta.apache.org/taglibs/xtags-1.0" %>
<xtags:parse>
<Test>
<_page>
hello
</_page>
</Test>
</xtags:parse>
<xtags:valueOf select="//_page" />
And the result is:
hello
I used xtags-20060829 (most recent build available), dom4j-1.6.1 and
jaxen-1.1-beta-6 (included with dom4j).
Quoting Kris Schneider <[email protected]>:
> What app server and JDK are you using?
>
> I don't have XTags installed, but I'll grab it and see what I get with
> Tomcat
> 5.5.23 and JDK 1.5.0_06.
>
> Quoting dean allen <[email protected]>:
>
> > Hi,
> > i have a problem with node names that begin with a leading
> > underscore.
> >
> > Given the following XML :
> > <Test>
> > <_page>
> > hello
> > </_page>
> > </Test>
> >
> > when i use follows tags into jsp page
> >
> > <xtags:variable id="pag" select="//_page" />
> >
> > <%=pag%>
> >
> > or
> >
> > <xtags:valueOf select="//_page" />
> > the result page don't show the relative value.
> >
> > Can you help me?
> >
> > Thank,
> > protone
>
> --
> Kris Schneider <mailto:[email protected]>
> D.O.Tech <http://www.dotech.com/>
--
Kris Schneider <mailto:[email protected]>
D.O.Tech <http://www.dotech.com/>