I've been using TaglibHelper in the XSP pages of the project I'm working
on - and it's been great - but now I'm working on a page on which my
coworkers (who are doing the corresponding XSLT) would like some of the
data to come out as attributes. In case I'm messing up my terminology,
rather than
<foo>
<bar>1</bar>
</foo>
they would prefer output like
<foo bar="1" />
I've looked through the docs and examples, but don't see any way to do
this using TaglibHelper.
I've also spent some time trying to reimplement the taglib in question
using SimpleTaglib, but have found that to be much more difficult. I
was eventually able to turn out elements with tags, but then ran into
trouble with the namespace info added to my output (so I'd get
<mynamespace:foo xmlns="..." bar="1" />, which my coworker's XSLT did
not care for).
Looking through CVS I saw that the latest version of SimpleTaglib makes
it possible to do output without specifying a namespace, so I did pull
down the latest version of SimpleTaglib.pm, at which time my previously
functional taglib started generating internal server errors - so I gave
up and went home for the night. The rest of my AxKit & related
installation is from CPAN as of a few weeks back, so AxKit 1.6,
XML::LibXSLT 1.52, etc. Perl version is 5.6.1, OS is OpenBSD 3.2.
I suspect that further time with SimpleTaglib should make it possible
for me to produce the desired output, but with a go-live date rapidly
approaching and a bunch more work to do, I'm running a bit short on
time; which is why I thought it would be worth checking if there wasn't
any way to do this in TaglibHelper.
Suggestions or pointers?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: outputting attributes in TaglibHelper? Joe Slag
- Re: outputting attributes in TaglibHelper? Matt Sergeant
- Re: outputting attributes in TaglibHelper? Tod Harter
- Re: outputting attributes in TaglibHelper? Matt Sergeant
- Re: outputting attributes in TaglibHelper? Tod Harter
