Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^20: aXML vs TT2

by Logicus (Initiate)
on Oct 23, 2011 at 05:54 UTC ( [id://933152]=note: print w/replies, xml ) Need Help??


in reply to Re^19: aXML vs TT2
in thread aXML vs TT2

In aXML Template Output by aXML
< <
> >
& &
&lb; (
&rb; )
&lsb; [
&rsb; ]

As in... all data passes through unaltered, unless the parser recognises it as a valid tag to be processed, or it is one of the 4 extra specials needed to output aXML fragments without processing them.

Replies are listed 'Best First'.
Re^21: aXML vs TT2
by ikegami (Patriarch) on Oct 23, 2011 at 06:02 UTC

    Earlier, you said "&lt;db_select&gt;" outputs "<db_select>", but now you say it outputs "&lt;db_select&gt;".

    So how do I output "<db_select>" if db_select is a plugin? What about outputting "&lt;db_select&gt;"?

      Ok there's two issues here, outputting to a browser, and outputting a literal string.

      In the context of making the browser display <db_select>, you can use the specails the browser understands, &lt;db_select&gt;

      In the context of outputting the literal string the only way to do that that I can think of is using a <post_include> type plugin, and storing the string you want literally output without being processed, in a separate file which is included post processing immediately prior to exit.

      in the aXML ----------- <post_include>path/to/splarg</post_include> in 'splarg' ----------- <db_select> ...
        I recommend creating a builtin plugin "<lt>" that outputs "<", then one could use <lt></lt>db_select>.
        What's a "<post_include> type plugin"?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://933152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-18 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found